logo université de Strasbourg logo CNRS logo INSA Strasbourg logo ENGEES

Service informatique

Symfony

De Service informatique
Aller à la navigation Aller à la recherche

Mise en prod

  1. Récupérer le dépôt git: https://icube-forge.unistra.fr/sysinfo/intranetlabo
    1. git clone git@icube-forge.unistra.fr:sysinfo/intranetlabo.git
    2. git checkout branchdeprod
  2. sudo chown -R www-data:www-data intranetLabo
  3. configurer le fichier ./app/config/parameters.yml comme il se doit! (s'inspirer de celui de dev, modifier la bdd!!)
  4. php bin/vendors install ou composer install (composer doit déjà être installé)
  5. configurer apache comme il se doit ( Alias /symfony /var/www/intranetLabo/web/ )
  6. sudo php app/console assets:install web/ --symlink
  7. php app/console doctrine:database:create
  8. php app/console doctrine:schema:update --force