Projet

Général

Profil

Wiki » Historique » Version 4

Mathias Rouan, 12/12/2016 11:41

1 1 Mathias Rouan
h1. Wiki
2
3 3 Mathias Rouan
h2. pistes pour la configuration virtualhost apache symfony
4
5 1 Mathias Rouan
[[http://www.mist-labs.com/blog/installing-and-configuring-symfony2#.U8ZwwPl_uEB]]
6
[[http://fr.openclassrooms.com/informatique/cours/developpez-votre-site-web-avec-le-framework-symfony2/deployer-son-site-symfony2-en-production]]
7 3 Mathias Rouan
8
h2. Installation
9
10
déploiement depuis git :
11
- clone git://tucuxi.univ-brest.fr/managechart
12
- composer.lock à supprimer
13
- composer.phar self-update
14
- proc_open à autoriser en commentant la ligne dans /etc/php5/conf.d/zz_recommended.ini..
15 4 Mathias Rouan
- timeout et mailer_port à commenter dans app/config/config.yml
16 3 Mathias Rouan
- composer.phar install
17
- app/console assets:install web/ --symlink
18
- app/console assetic:dump --env=prod 
19
// -> erreur fos_user doctrincd ..e registry corrigée en bloquant la version de fosuser bundle à 2.0.0alpha3
20
- paramater.yml à configurer en live ou à copier
21
- timeout à remettre
22
- app/console cache:clear --env=prod 
23
- proc_open à bloquer
24
- droit www-data:
25
26
27
28
déploiement depuis tar :
29
tar zcf
30
copy
31
tar xf
32
rm -rf app/cache/*
33
remettre parameter.yml
34
chown -hR www-data: 
35
service apache2 restart
36
TRUC PAS BEAU : les liens symb vers opt/lampp/xxxx