- clone this repo
- install Composer dependencies:
composer install
- create
.env.local
file based on the following configuration:
APP_ENV=dev
APP_SECRET=c13b4fa7c2db1758fefcb8b8ab03e90a
# ref. https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
DATABASE_URL=mysql://db_user:[email protected]:3306/db_name?serverVersion=5.7
- install Node.js and Yarn and after that install dependencies:
yarn install
- compile assets (
make
will work on Windows only, check content of themake.bat
file to get more details about the commands used below):
make assets
- create database structure and load fixtures:
make db-reload
- use built-in command to run phpunit test suite:
make test
- prepare deployment:
make prod
- go back to work in
dev
mode:
make dev