This is a small demo application of a Symfony Application with DDD, CQRS and ES
Clone the project:
$ https://github.com/ajordi/symfony-demo-ddd-cqrs-es
$ cd symfony-demo-ddd-cqrs-es
$ docker-compose up -d
- Wait until php service is ready to handle connections. Check using
docker-compose logs php
$ docker-compose exec -T php /usr/local/bin/php -d xdebug.remote_enable=0 -d xdebug.profiler_enable=0 -d xdebug.default_enable=0 bin/console queue:setup
$ docker-compose exec -T php /usr/local/bin/php -d xdebug.remote_enable=0 -d xdebug.profiler_enable=0 -d xdebug.default_enable=0 bin/console consumer:start notify_validation_on_user_registered
- Must be ran in another terminal tab since consumer is not detached (previous command)
$ docker-compose exec -T php /usr/local/bin/php -d xdebug.remote_enable=0 -d xdebug.profiler_enable=0 -d xdebug.default_enable=0 bin/console user:create test@test.test
browser to http://localhost:8025