Info update
This commit is contained in:
parent
b07fcfb2bd
commit
c60fd941b8
|
@ -10,7 +10,6 @@ Informations supplémentaires :
|
|||
|
||||
* [wiki:HowToRedmine-Source/Migrate Migrer une installation existante]
|
||||
* [wiki:HowToRedmine-Source/Save Backup de votre installation]
|
||||
* [wiki:HowToRedmine-Source/Update Mettre à jour votre installation]
|
||||
* [wiki:HowToRedmine-Source/Delete Supprimer votre installation]
|
||||
|
||||
À noter :
|
||||
|
@ -23,7 +22,7 @@ Informations supplémentaires :
|
|||
Installations des dépendances :
|
||||
|
||||
~~~
|
||||
# aptitude install libpam-systemd ruby ruby-dev imagemagick git-core git-svn gcc build-essential libxml2-dev libxslt1-dev libssl-dev
|
||||
# aptitude install libpam-systemd libmysqlclient-dev ruby ruby-dev imagemagick git-core git-svn gcc build-essential libxml2-dev libxslt1-dev libssl-dev
|
||||
~~~
|
||||
|
||||
Installation des dépendances 2 (L'installation en une fois crée des conflits !) :
|
||||
|
@ -97,7 +96,7 @@ Choisir la $BRANCHE de la version de Redmine :
|
|||
BRANCHE=3.4-stable
|
||||
~~~
|
||||
|
||||
Ajout des gems locales dans le $PATH :
|
||||
Configuration du profile :
|
||||
|
||||
~~~
|
||||
cat > ~/.profile <<EOF
|
||||
|
@ -234,6 +233,32 @@ rake -qf ~/www/Rakefile redmine:plugins:migrate
|
|||
rake -qf ~/www/Rakefile redmine:plugins:migrate[plugin_name,0]
|
||||
~~~
|
||||
|
||||
### Mise a jour
|
||||
|
||||
#### Mineure
|
||||
|
||||
~~~
|
||||
cd ~/www
|
||||
git pull
|
||||
bundle update
|
||||
systemctl --user restart puma
|
||||
systemctl --user status puma
|
||||
~~~
|
||||
|
||||
#### Majeure
|
||||
|
||||
~~~
|
||||
systemctl --user stop puma
|
||||
cd ~/www
|
||||
git pull
|
||||
git checkout $BRANCHE
|
||||
rm Gemfile.lock
|
||||
bundle update
|
||||
rake -q db:migrate
|
||||
systemctl --user start puma
|
||||
systemctl --user status puma
|
||||
~~~
|
||||
|
||||
### Taches d'administration
|
||||
|
||||
Lancer un shell ruby dans l'environnement de production :
|
||||
|
|
Loading…
Reference in a new issue