- Docker & docker-compose
- Postman (or other compatible software, ex: Insomnia)
- IDE
In project directory run:
docker-compose up -d# start containerdocker-compose exec app composer install# install composerdocker-compose exec app bin/console d:s:c# create database schema
Postman collection file is located at ./.dev/postman.json. Import it into your Postman.
docker-compose exec app bin/phpunit
On Win10 running commands: docker-compose exec app bin/console d:s:c and docker-compose exec app bin/phpunit resulted in:
/usr/bin/env: ‘php\r’: No such file or directory
Added php to command has helped:
docker-compose exec app php bin/console d:s:c
docker-compose exec app php bin/phpunit