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