echo "127.0.0.1 todo.app" | sudo tee -a /etc/hosts
# install docker if necessary
brew update
brew tap caskroom/cask
brew cask install docker
brew cleanup
# when docker is installed
docker-compose up --build --detach
the php container waits on mariadb to be available (it might take a while).
use docker-compose logs -f to check on progress
sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain docker/nginx/ssl/todo.app.crt
docker exec -it todo_app_php /bin/bash -c "./bin/grumphp run"
docker exec -it todo_app_php /bin/bash -c "./bin/phpunit"