diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-05-02 20:06:43 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-05-02 20:06:43 +0200 |
commit | b8f35b6b27b44f881a660dec8c8874d7ae6b5ac4 (patch) | |
tree | e0c46a7f82ca8449b4ebcef60ce72df891526981 /docs/en/user/upgrade.rst | |
parent | deb5d9766731dd35bbff75e29867d049a3254061 (diff) | |
parent | 12d3bbccbd060e7ede4cff6ab425ae3df947db4a (diff) | |
download | wallabag-b8f35b6b27b44f881a660dec8c8874d7ae6b5ac4.tar.gz wallabag-b8f35b6b27b44f881a660dec8c8874d7ae6b5ac4.tar.zst wallabag-b8f35b6b27b44f881a660dec8c8874d7ae6b5ac4.zip |
Merge pull request #2011 from biva/patch-1
upgrade.rst (Creation of an upgrade page in the documentation)
Diffstat (limited to 'docs/en/user/upgrade.rst')
-rw-r--r-- | docs/en/user/upgrade.rst | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/docs/en/user/upgrade.rst b/docs/en/user/upgrade.rst new file mode 100644 index 00000000..e4735631 --- /dev/null +++ b/docs/en/user/upgrade.rst | |||
@@ -0,0 +1,24 @@ | |||
1 | Upgrade wallabag | ||
2 | ================ | ||
3 | |||
4 | Upgrade on a dedicated web server | ||
5 | --------------------------------- | ||
6 | |||
7 | The last release is published on https://www.wallabag.org/pages/download-wallabag.html. In order to upgrade your wallabag installation and get the last version, run the following commands in you wallabag folder (replace ``2.0.3`` by the last release number): | ||
8 | :: | ||
9 | |||
10 | git fetch origin | ||
11 | git fetch --tags | ||
12 | git checkout 2.0.3 | ||
13 | SYMFONY_ENV=prod composer install --no-dev -o --prefer-dist | ||
14 | php bin/console cache:clear --env=prod | ||
15 | |||
16 | |||
17 | Upgrade on a shared hosting | ||
18 | --------------------------- | ||
19 | |||
20 | Backup your ``app/config/parameters.yml`` file. Extract the archive in your wallabag folder and replace ``app/config/parameters.yml`` with yours. | ||
21 | |||
22 | If you use SQLite, you must also copy your ``data/`` folder inside the new installation. | ||
23 | |||
24 | Empty ``var/cache`` folder. | ||