Satis
is a simple static Composer repository generator.
Symfony Flex
helps developers create Symfony applications, from the most simple micro-style projects to the more complex ones with dozens of dependencies.
Pull the image:
docker-compose pull
Note: by default it will look for a configuration file named
satis.json
inside the/www/satis/satis.json
directory and dump the generated output files in/www/satis/html
.
You are running Satis as a Docker container, simply pull the latest image.
If you choose to archive packages as part of your build, over time you can be
left with useless files. With the purge
command, you can delete these files.
php bin/satis purge <configuration-file> <output-dir>
Note: don't do this unless you are certain your projects no longer reference any of these archives in their
composer.lock
files.
In order to download your recipes:
php bin/console recipes:initialize
You can use the command to refresh the recipes:
php bin/console recipes:update
Note: Or you can to automate the process, a webhook is provided. Use the url https://example.com/webhook/update to have the flex server update the repos.
Simple tool for updating the Satis configuration (satis.json) "require" key on the basis of the project composer.json.
Before start app, you should create file: .env
# Bitbucket
username=*****
password=*****
# Install dependencies
yarn install
# Run lint
yarn lint
# Fix lint errors
yarn lint:fix
# Run app
yarn satis:run
- Unit Tests