Skip to content
This repository was archived by the owner on Sep 10, 2018. It is now read-only.

Commit ee6a8af

Browse files
committed
Release 1.1.3
1 parent 6937b5a commit ee6a8af

2 files changed

Lines changed: 109 additions & 1 deletion

File tree

en/upgrade.rst

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,3 +100,57 @@ There is not official procedure to update Sonerezh without Git. We advise you to
100100
/var/www $ wget https://github.com/Sonerezh/sonerezh/archive/1.1.1.tar.gz
101101
/var/www $ tar -zcf 1.1.1.tar.gz
102102
/var/www $ rsync -a sonerezh-1.1.1 sonerezh
103+
104+
--------------
105+
1.1.1 to 1.1.3
106+
--------------
107+
108+
^^^^^^^^
109+
With git
110+
^^^^^^^^
111+
Get the latest version from GitHub:
112+
113+
.. code-block:: sh
114+
115+
$ cd /var/www/sonerezh
116+
/var/www/sonerezh $ git fetch
117+
/var/www/sonerezh $ git checkout -b 1.1.3 tags/1.1.3
118+
119+
The dabatase schema has changed, you have to update it (php-cli required):
120+
121+
.. code-block:: sh
122+
123+
# Follow the instructions given by the command
124+
# If you use MySQL
125+
app/Console/cake schema update sonerezhMysql
126+
127+
# If you use PostreSQL
128+
app/Console/cake schema update sonerezhPgsql
129+
130+
You instance has been upgraded! You can verify it under the statistics, on the settings page. Do not forget to empty you browser cache and delete the Sonerezh cookies.
131+
132+
^^^^^^^^^^^
133+
Without git
134+
^^^^^^^^^^^
135+
There is not official procedure to update Sonerezh without Git. We advise you to make a fresh install with the latest archive. However, ``rsync`` should make the job:
136+
137+
.. code-block:: sh
138+
139+
$ cd /var/www
140+
/var/www $ cp -a sonerezh sonerezh.backup
141+
/var/www $ wget https://github.com/Sonerezh/sonerezh/archive/1.1.3.tar.gz
142+
/var/www $ tar -zcf 1.1.3.tar.gz
143+
/var/www $ rsync -a sonerezh-1.1.3 sonerezh
144+
145+
The dabatase schema has changed, you have to update it (php-cli required):
146+
147+
.. code-block:: sh
148+
149+
# Follow the instructions given by the command
150+
# If you use MySQL
151+
app/Console/cake schema update sonerezhMysql
152+
153+
# If you use PostreSQL
154+
app/Console/cake schema update sonerezhPgsql
155+
156+
You instance has been upgraded! You can verify it under the statistics, on the settings page. Do not forget to empty you browser cache and delete the Sonerezh cookies.

fr/upgrade.rst

Lines changed: 55 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Récupérez la dernière version des sources :
2727
/var/www/sonerezh $ git fetch
2828
/var/www/sonerezh $ git checkout tags/1.0.0
2929
30-
Le schéma de la base de données à changé, il faut donc le mettre à jour (requiert php-cli) :
30+
Le schéma de la base de données a changé, il faut donc le mettre à jour (requiert php-cli) :
3131

3232
.. code-block:: sh
3333
@@ -100,3 +100,57 @@ Il n'y pas de procédure officielle pour mettre à jour Sonerezh sans Git. Nous
100100
/var/www $ wget https://github.com/Sonerezh/sonerezh/archive/1.1.1.tar.gz
101101
/var/www $ tar -zcf 1.1.1.tar.gz
102102
/var/www $ rsync -a sonerezh-1.1.1 sonerezh
103+
104+
----------------
105+
1.1.1 vers 1.1.3
106+
----------------
107+
108+
^^^^^^^^
109+
Avec git
110+
^^^^^^^^
111+
Récupérez la dernière version des sources :
112+
113+
.. code-block:: sh
114+
115+
$ cd /var/www/sonerezh
116+
/var/www/sonerezh $ git fetch
117+
/var/www/sonerezh $ git checkout -b 1.1.3 tags/1.1.3
118+
119+
Le schéma de la base de données a changé, il faut donc le mettre à jour (requiert php-cli) :
120+
121+
.. code-block:: sh
122+
123+
# Suivez les instructions fournies par la commande
124+
# Si vous utilisez MySQL
125+
app/Console/cake schema update sonerezhMysql
126+
127+
# Si vous utilisez PostreSQL
128+
app/Console/cake schema update sonerezhPgsql
129+
130+
Votre instance est à jour ! Vous pouvez aller le vérifier sur la page des paramètres, sous les statistiques. Pensez aussi à vider le cache de votre navigateur, et supprimer les cookies de Sonerezh.
131+
132+
^^^^^^^^
133+
Sans git
134+
^^^^^^^^
135+
Il n'y pas de procédure officielle pour mettre à jour Sonerezh sans Git. Nous vous conseillons de repartir sur une installation neuve. Cependant, l'outil ``rsync`` devrait fonctionner :
136+
137+
.. code-block:: sh
138+
139+
$ cd /var/www
140+
/var/www $ cp -a sonerezh sonerezh.backup
141+
/var/www $ wget https://github.com/Sonerezh/sonerezh/archive/1.1.3.tar.gz
142+
/var/www $ tar -zcf 1.1.3.tar.gz
143+
/var/www $ rsync -a sonerezh-1.1.3 sonerezh
144+
145+
Le schéma de la base de données a changé, il faut donc le mettre à jour (requiert php-cli) :
146+
147+
.. code-block:: sh
148+
149+
# Suivez les instructions fournies par la commande
150+
# Si vous utilisez MySQL
151+
app/Console/cake schema update sonerezhMysql
152+
153+
# Si vous utilisez PostreSQL
154+
app/Console/cake schema update sonerezhPgsql
155+
156+
Votre instance est à jour ! Vous pouvez aller le vérifier sur la page des paramètres, sous les statistiques. Pensez aussi à vider le cache de votre navigateur, et supprimer les cookies de Sonerezh.

0 commit comments

Comments
 (0)