Requirements:
Set up (using docker):
- run
docker-compose up -dwhich will pull the needed docker images and run the container - add to your /etc/hosts file:
127.0.0.1 dev.raffler.loc
127.0.0.1 test.raffler.loc
Run raffler web:
- enter
workspacecontainer (idea is to run all of the CLI from in there) by enteringdocker-compose exec workspace bashand run:- run
composer installto set up composer dependencies - run
refresh-dev-dbto set up the dev database - run
refresh-test-dbto set up the test database
- run
- open your favourite browser, go to
http://dev.raffler.loc:8000to access dev environment andhttp://test.raffler.loc:8000to access test environment
To run (from workspace container)
- phpunit:
phpunit - phpspec:
phpspec run - behat:
behat - fix all the code style issues:
fix-codestandards - tests:
test(this includes phpunit, phpspec, behat & fix-codestandards tasks)