Ci-dessous, les différences entre deux révisions de la page.
Both sides previous revision Révision précédente Prochaine révision | Révision précédente Prochaine révision Both sides next revision | ||
si:movim [2019/02/12 20:26] pitchum [Configurer apache et php-fpm] |
si:movim [2019/02/12 20:54] pitchum [Mettre à jour] |
||
---|---|---|---|
Ligne 20: | Ligne 20: | ||
<code bash>systemctl restart movim</code> | <code bash>systemctl restart movim</code> | ||
+ | ==== Mettre à jour ==== | ||
+ | Si une nouvelle version est disponible au téléchargement au format //.tar.gz// voici la procédure simple. | ||
+ | Avant toute chose jeter un œil sur la [[https://github.com/movim/movim/wiki/Install-Movim#update|page officielle]] au cas où il y aurait une procédure particulière pour cette version. | ||
+ | |||
+ | <code bash> | ||
+ | cd /var/www/movim/upstream | ||
+ | curl -JOLs https://github.com/movim/movim/archive/x.xx.x.tar.gz | ||
+ | cd .. | ||
+ | tar xavf upstream/x.xx.x.tar.gz | ||
+ | ln db.inc.php movim-x.xx.x/config/ | ||
+ | rm public_html && ln movim-x.xx.x public_html | ||
+ | cd public_html | ||
+ | sudo -u movim composer install | ||
+ | sudo -u movim php vendor/bin/phinx migrate | ||
+ | systemctl restart movim | ||
+ | </code> | ||
===== Installation ===== | ===== Installation ===== | ||