To start develop:
- Fork the projects
- Run
composer install
- Complete .env file with your database credentials
symfony console doctrine:database:create
symfony console doctrine:migrations:migrate
- Here we go !!
To populate database with "The Movie DB API" data follow this steps :
- Complete .env file with your api key
- Run the
symfony console ihmdb:populate:database
- That's all !!
-t / --truncate
: Truncate database before populate (index restart to 1)
--page=int
: Select number of result page. 1 page = 20 results, exemple : if you want 60 movies in your database you should add --page=3 option to the command (Default is 1)