In config/jwt :
openssl genrsa -out config/jwt/private.pem -aes256 4096
openssl rsa -pubout -in config/jwt/private.pem -out config/jwt/public.pem
-
Configure file .env.local using file .env.local.example as a template.
-
Install dependancies :
composer install
- Create the database if not exist
php bin/console doctrine:database:create
- Create database tables
php bin/console doctrine:migrations:migrate
- If necessary, create fake content and demo users
php bin/console doctrine:fixtures:load --env=dev --group=app
- Once ready for production, modify the environment in .env file
# ./.env
APP_ENV=prod