Use make help
in the terminal to list available commands. Makefile is used as the entrypoint to the project
make install
- Make a copy of
.env
and rename it to.env.local
- Update it with your database credentials
If you haven't created a database, you can create it with doctrine:
php ./bin/console doctrine:database:create
make checkdb
- prints the raw sql queries to be executedmake syncdb
- executes the queries to sync the database with its entities
make dev-server
(Note: This make recipe uses the Symfony binary so it may not work if you're using another server like Apache/NgInx to serve your files. Installing the binary is necessary to use this recipe)
make refresh
- clears and warmup/refresh cache