The instructions will be divided into parts.
- Go to Src/symfony_docker/app
- Open .env and .env.test
- You Can get the following params ( MYSQL_ROOT_PASSWORD & MYSQL_USER & MYSQL_PASSWORD & MYSQL_DATABASE)
From the base directory run these steps:
- In terminal execute this command( make start-project )
- In terminal execute this command .(make composer-install)
- In new terminal execute this command (make database-inital) .
- Connect to mysql and create DB
- Put the name of db inside .env to parameter (MYSQL_DATABASE)
- In terminal execute this command (make database-update)
- Your application will be run on (http://localhost:3333/) if you don't use kong
- Your application will be run on (http://localhost:8000/) if you use kong
- Run rabbitmq you can execute ( make rabbitmq-execute)
1- I made 3 queues ( messages, notification_creation , notification_dispatch )
2- I didn't write more unit tests because i don't have enough time
- if you create a new entity you can update schema with this command ( make database-update)
- To run Unit Test execute this command (make phpunit)
- I pushed .env and .env.test to see you what I did it in these files