Skip to content

Installation

Benoît edited this page Apr 11, 2018 · 15 revisions

Installation

Technical stack:

  • language: >= php-7.0
  • dbms: pgsql or mysql
  • webserver: nginx (prefered) or apache2

Prerequisites

Installation instructions

Install sources

Fully built version bundled with all dependencies installed are available under .tgz archive.

OR

  • Build the app from sources. see building instructions. This option is for developers only since you must rebuild the solution with all depencies and run then build jobs.

Set environment variables

Checkout the dedicated page for setting up env vars

Install database

Create database

php bin/console doctrine:database:create

Create schema

php bin/console doctrine:schema:create

Run migrations

php bin/console doctrine:migrations:migrate -n

Load fixtures

This will populate app with sample records:

php bin/console doctrine:fixtures:load --no-interaction --env=dev

Clear caches

php bin/console cache:clear --env=dev
php bin/console cache:clear --env=prod

Customisations

Logo

To use your custom logo instead of the default one, put it as follow: web/assets/dist/image/custom-logo.png