diff options
author | Jeremy Benoist <j0k3r@users.noreply.github.com> | 2016-10-10 16:58:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-10 16:58:15 +0200 |
commit | bccf7a70bc22171904a5bb82d282e9c956684abc (patch) | |
tree | f03a771ac950296aa1a91af363784ec7915eac27 /docs/en/user/upgrade-2.1.x-2.1.y.rst | |
parent | c99d90455bf2c3bac8a85cc0fdaf60134ae06cb4 (diff) | |
parent | fa4c39b37c1e1a1b52739a070775e9ba0fafe802 (diff) | |
download | wallabag-bccf7a70bc22171904a5bb82d282e9c956684abc.tar.gz wallabag-bccf7a70bc22171904a5bb82d282e9c956684abc.tar.zst wallabag-bccf7a70bc22171904a5bb82d282e9c956684abc.zip |
Merge pull request #2403 from wallabag/cleanup-install-process-in-doc
Cleaned up documentation for installation process
Diffstat (limited to 'docs/en/user/upgrade-2.1.x-2.1.y.rst')
-rw-r--r-- | docs/en/user/upgrade-2.1.x-2.1.y.rst | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/docs/en/user/upgrade-2.1.x-2.1.y.rst b/docs/en/user/upgrade-2.1.x-2.1.y.rst new file mode 100644 index 00000000..575f4ba9 --- /dev/null +++ b/docs/en/user/upgrade-2.1.x-2.1.y.rst | |||
@@ -0,0 +1,35 @@ | |||
1 | Upgrading from 2.1.x to 2.1.y | ||
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.1.2`` by the last release number): | ||
8 | |||
9 | :: | ||
10 | |||
11 | rm -rf var/cache/* | ||
12 | git fetch origin | ||
13 | git fetch --tags | ||
14 | git checkout 2.1.2 --force | ||
15 | SYMFONY_ENV=prod composer install --no-dev -o --prefer-dist | ||
16 | php bin/console cache:clear --env=prod | ||
17 | |||
18 | Upgrade on a shared hosting | ||
19 | --------------------------- | ||
20 | |||
21 | Backup your ``app/config/parameters.yml`` file. | ||
22 | |||
23 | Download the last release of wallabag: | ||
24 | |||
25 | .. code-block:: bash | ||
26 | |||
27 | wget http://wllbg.org/latest-v2-package && tar xvf latest-v2-package | ||
28 | |||
29 | (md5 hash of the 2.1.1 package: ``9584a3b60a2b2a4de87f536548caac93``) | ||
30 | |||
31 | Extract the archive in your wallabag folder and replace ``app/config/parameters.yml`` with yours. | ||
32 | |||
33 | If you use SQLite, you must also copy your ``data/`` folder inside the new installation. | ||
34 | |||
35 | Empty ``var/cache`` folder. | ||