Skip to content

Latest commit

 

History

History
41 lines (22 loc) · 963 Bytes

File metadata and controls

41 lines (22 loc) · 963 Bytes

Scripts to help with common tasks

Inspired by https://github.com/github/scripts-to-rule-them-all.

First run

  • ./script/setup
  • ./script/server

See further instructions in README.md.

Starting / stopping

  • ./script/server: start server to use the website or Docker console
  • ./script/stop-server: stop server
  • ./script/logs: see logs of all Docker services

Update

Run after pulling/merging git with changes from others (e.g. git pull on master). This will update composer packages.

  • ./script/update

Console

  • ./script/console ./script/command (<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 root: get a bash as root in Docker, for installing OS packages

Restart

  • ./script/reset: remove and setup Docker again

See further instructions in README.md.