Skip to content

zawiszaty/tutorials_tank

Repository files navigation

Tutorials Tank

Build Status StyleCI

How to run Linux or Mac:

  • You must have install docker, docker-compose locally
  • Copy .env.dist to .env file
$ sysctl -w vm.max_map_count=262144 
$ chmod 777 symfony/public/thumbnails
$ chmod 777 symfony/public/avatars
$ make dev
$ php bin/console fos:oauth-server:create-client --redirect-uri="" --grant-type="password"
$ copy client_secret and client_id to web-app/src/axios/env.js example is in web-app/src/axios/env.js.dist 

How to run Windows:

  • You must have install docker, docker-compose and composer locally if you are not a linux or mac user
  • Copy .env.dist to .env file
$ composer install
$ docker-compose run -d 
$ docker-compose exec php php bin/console d:d:c
$ docker-compose exec php php bin/console d:s:c
$ docker-compose exec php php bin/console d:m:l -n

How to run test:

$ make test

Implementations

  • Environment in Docker
  • Command Bus, Query Bus, Event Bus
  • Event Store
  • Elasticsearch Read Model
  • Rest API
  • Continuous integration with Travis.Ci and Style.Ci
  • RabbitMq Async Event Subscribers
  • RabbitMq Async Email Sender
  • React Web UI
  • Nelmio API Doc
  • Makefile Runner