Ensure that you have docker
and docker-compose
- Build docker images
docker-compose build
- Fetch dependencies
docker-compose run --rm web composer install
. - Create DB
docker-compose run --rm web php bin/console doctrine:schema:create
. - Set Messenger
docker-compose run --rm web php bin/console messenger:setup-transports
. - Run containers & services
docker-compose up -d
. - Set local host:
app-manager.local
- Try: http://app-manager.local/file/
docker-compose run --rm web php bin/phpunit
It's more handy to run command inside docker container, to go in run:
docker-compose exec web bash