mkdir config/jwt
openssl genrsa -out config/jwt/private.pem -aes256 4096
openssl rsa -pubout -in config/jwt/private.pem -out config/jwt/public.pem
composer install --no-dev --optimize-autoloader
bin/console doctrine:database:create
bin/console doctrine:migrations:migrate
bin/console doctrine:schema:create
composer install --no-dev --optimize-autoloader
bin/console doctrine:migrations:migrate
bin/console doctrine:schema:update --force
Follow instructions on Symfony Guide. Write permissions must be set on the following directories:
var/log