Skip to content

Hendrien-org/satis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hendrien Composer Repository

https://hendrien-org.github.io/satis/

Setting up this repository in your projects

Add this Composer repository to your project's composer.json file, then you can require these private packages just like you would with one from Packagist.

{
  "repositories": [{
    "type": "composer",
    "url": "https://hendrien-org.github.io/satis"
  }],
  "minimum-stability": "dev",
  "prefer-stable": true
}

Run as Docker container

Pull the image:

docker pull composer/satis

Run the image (with Composer cache from host):

docker run --rm --init -it \
  --user $(id -u):$(id -g) \
  --volume $(pwd):/build \
  --volume "${COMPOSER_HOME:-$HOME/.composer}:/composer" \
  composer/satis build <configuration-file> <output-directory>
  • <configuration-file> = satis.json
  • <output-directory> = docs
docker pull composer/satis
docker run --rm --init -it \
  --user $(id -u):$(id -g) \
  --volume $(pwd):/build \
  --volume "${COMPOSER_HOME:-$HOME/.composer}:/composer" \
  composer/satis build satis.json docs;
git add -A;
git commit -m ":arrow_up: update dependencies";
git push;

Updating Satis

Pull the latest image.