This repository has been archived by the owner on Sep 10, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade guide for 1.0.0-beta release
- Loading branch information
1 parent
5ee6da0
commit 93dffd5
Showing
10 changed files
with
122 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
======= | ||
Upgrade | ||
======= | ||
|
||
Sonerezh does not provide automatic upgrades for the moment. We need to do it manually. | ||
|
||
------------------ | ||
Upgrade from 0.9.0 | ||
------------------ | ||
|
||
.. warning:: Unfortunately it is not possible to upgrade Sonerezh from 0.9.0 to a more recent version. We have made too many deep changes between 0.9.0 and 1.0.0-beta and you need to install Sonerezh from scratch if you come from 0.9.0. | ||
|
||
------------------------------------------------ | ||
Upgrade from old 1.0.0-beta branch to 1.0.0-beta | ||
------------------------------------------------ | ||
|
||
.. note:: You can use this section if you upgrade from the old 1.0.0-beta branch (it means before 12/01/2015) | ||
|
||
^^^^^^^^ | ||
With git | ||
^^^^^^^^ | ||
Get the last version from GitHub: | ||
|
||
.. code-block:: sh | ||
cd /var/www/sonerezh | ||
git fetch | ||
git checkout tags/1.0.0-beta | ||
The dabatase schema has changed, you have to update it (php-cli required): | ||
|
||
.. code-block:: sh | ||
# Follow the instructions given by the command | ||
app/Console/cake schema update sonerezh | ||
You instance has been upgraded! You can check verify it under the statistics, on the settings page. Do not forget to empty you browser cache and delete the Sonerezh cookies. | ||
|
||
^^^^^^^^^^^ | ||
Without git | ||
^^^^^^^^^^^ | ||
You cannot upgrade Sonerezh if you do not use git. You have to install the new version from scratch. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
=========== | ||
Mise à jour | ||
=========== | ||
|
||
Sonerezh ne propose pas encore de mise à jour automatique. Il faut donc le faire à la main. | ||
|
||
------------------------ | ||
Mise à jour depuis 0.9.0 | ||
------------------------ | ||
|
||
.. warning:: Malheureusement il n'est pas possible de mettre à jour Sonerezh depuis la version 0.9.0 vers un version supérieure. Ceci est dû aux nombreux changements importants réalisés entre la version 0.9.0 et la version 1.0.0-beta. Il faut repartir de zéro afin d'avoir une installation propre. | ||
|
||
---------------------------------------------------------------- | ||
Mise à jour depuis l'ancienne branche 1.0.0-beta vers 1.0.0-beta | ||
---------------------------------------------------------------- | ||
|
||
.. note:: Cette section est valable si vous mettez à jour depuis l'ancienne branche 1.0.0-beta (c'est-à-dire avant le 01/12/2015) | ||
|
||
^^^^^^^^ | ||
Avec git | ||
^^^^^^^^ | ||
Récupérez la dernière version des sources : | ||
|
||
.. code-block:: sh | ||
cd /var/www/sonerezh | ||
git fetch | ||
git checkout tags/1.0.0-beta | ||
Le schéma de la base de données à changé, il faut donc le mettre à jour (requiert php-cli) : | ||
|
||
.. code-block:: sh | ||
# Suivez les instructions fournies par la commande | ||
app/Console/cake schema update sonerezh | ||
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. | ||
|
||
^^^^^^^^ | ||
Sans git | ||
^^^^^^^^ | ||
Malheureusement il n'y a pas de processus de mise à jour si vous n'utilisez pas Git. Vous devez repartir sur une installation vierge. |