Inspired by https://github.com/github/scripts-to-rule-them-all.
./script/setup
./script/server
See further instructions in README.md.
./script/server
: start Docker/Symfony server to use the website or Docker console./script/stop-server
: stop Docker/Symfony server./script/logs
: see logs of all Docker services or Symfony server
Run after pulling/merging git with changes from others (e.g. git pull
on master
).
This will updates composer packages and migrates the database.
./script/update
./script/symfony <command>
: run a Symfony bin/console command./script/console <command>
: run a single command in Docker./script/console
: get a bash into Docker./script/console database
: get a bash into Docker's database container./script/console root
: get a bash as root in Docker, for installing OS packages
./script/reset
: remove and setup Docker again