- php >=7.2
- node >=8 (Only for creation front-end assets)
- yarn (Only for creation front-end assets)
- Composer
cp config/openconext/parameters.yml.dist config/openconext/parameters.yml
composer archive --file=archive
Configure web directory to /public.
bin/console doctrine:database:create
bin/console doctrine:migrations:migrate
cp .env.dist .env
cp config/openconext/parameters.yml.dist config/openconext/parameters.yml
composer dump-env prod
yarn encore prod
./bin/console assets:install
bin/console doctrine:database:create
bin/console doctrine:migrations:migrate
APP_ENV=prod APP_DEBUG=0 php bin/console cache:clear