Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Scripts to help with common tasks

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

First run

  • Install DDEV
  • ./script/setup

Starting / stopping

  • ./script/server: start ddev to allow running examples, linting, testing
  • ./script/stop: stop ddev

Update

Run after pulling/merging git with changes from others (e.g. git pull or git checkout). This will updates composer packages.

  • ./script/update

Lint / fix / test

  • ./script/lint: run all linters (reviewdog is broken, see --help to run for specific types)
  • ./script/fix: auto fix from linters (reviewdog is broken, see --help to run for specific types)
  • ./script/test: run all tests

Console

  • ./script/console <command>: run a command (e.g. ./script/console composer require ...)
  • ./script/console: get a bash console

Restart

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