- Copy the file parameters.yml.dist to parameters.yml
- Adjust parameter
linked_swissbib.elastic_search.hosts
to match your elastic search server
- Adjust parameter
- Follow the steps in Deployment
The following steps have to be taken when deploying this application:
-
Checkout the desired revision using git
-
Install / Update all composer dependencies:
composer install
-
Clear the symfony cache:
bin/console cache:clear --env=prod
-
Warm up the class autoloader:
composer dump-autoload --optimize
- Activate APC caching in config_prod.yml
- Warm up the composer class autoloader
- Deactivate unnecessary PHP modules, especially xdebug
- Use PHP FPM or even PPM (PHP-PM)