Skip to content
This repository has been archived by the owner on Dec 27, 2019. It is now read-only.

Latest commit

 

History

History
26 lines (16 loc) · 789 Bytes

development.md

File metadata and controls

26 lines (16 loc) · 789 Bytes

Development

First install

  1. Copy the file parameters.yml.dist to parameters.yml
    • Adjust parameter linked_swissbib.elastic_search.hoststo match your elastic search server
  2. Follow the steps in Deployment

Deployment

The following steps have to be taken when deploying this application:

  1. Checkout the desired revision using git

  2. Install / Update all composer dependencies: composer install

  3. Clear the symfony cache: bin/console cache:clear --env=prod

  4. Warm up the class autoloader: composer dump-autoload --optimize

Performance tuning

  • 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)