diff options
author | Nicolas Lœuillet <nicolas@loeuillet.org> | 2016-03-10 13:04:56 +0100 |
---|---|---|
committer | Nicolas Lœuillet <nicolas@loeuillet.org> | 2016-03-10 13:04:56 +0100 |
commit | c118131317742a4b77031af89d19eba3b5eabd24 (patch) | |
tree | 25b0187cf55ff8c0a8ed5f0c16ed70889659d353 | |
parent | 24c16007bbe1b840749809424f01a551d78ab829 (diff) | |
download | wallabag-c118131317742a4b77031af89d19eba3b5eabd24.tar.gz wallabag-c118131317742a4b77031af89d19eba3b5eabd24.tar.zst wallabag-c118131317742a4b77031af89d19eba3b5eabd24.zip |
git clone with prefer-dist option
-rw-r--r-- | README.md | 9 | ||||
-rw-r--r-- | docs/en/user/installation.rst | 5 | ||||
-rw-r--r-- | docs/fr/user/installation.rst | 5 |
3 files changed, 14 insertions, 5 deletions
@@ -15,9 +15,12 @@ If you don't have it yet, please [install composer](https://getcomposer.org/down | |||
15 | Then you can install wallabag by executing the following commands: | 15 | Then you can install wallabag by executing the following commands: |
16 | 16 | ||
17 | ``` | 17 | ``` |
18 | SYMFONY_ENV=prod composer create-project wallabag/wallabag wallabag "2.0.0-beta.2" --no-dev --keep-vcs | 18 | git clone https://github.com/wallabag/wallabag.git |
19 | php bin/console wallabag:install --env=prod | 19 | cd wallabag |
20 | php bin/console server:run --env=prod | 20 | git checkout 2.0.0-beta.2 |
21 | SYMFONY_ENV=prod composer install --no-dev -o --prefer-dist | ||
22 | php bin/console wallabag:install --env=prod | ||
23 | php bin/console server:run --env=prod | ||
21 | ``` | 24 | ``` |
22 | 25 | ||
23 | ## License | 26 | ## License |
diff --git a/docs/en/user/installation.rst b/docs/en/user/installation.rst index 88647333..99dc0a76 100644 --- a/docs/en/user/installation.rst +++ b/docs/en/user/installation.rst | |||
@@ -48,7 +48,10 @@ To install wallabag itself, you must run these two commands: | |||
48 | 48 | ||
49 | :: | 49 | :: |
50 | 50 | ||
51 | SYMFONY_ENV=prod composer create-project wallabag/wallabag wallabag "2.0.0-beta.2" --no-dev --keep-vcs | 51 | git clone https://github.com/wallabag/wallabag.git |
52 | cd wallabag | ||
53 | git checkout 2.0.0-beta.2 | ||
54 | SYMFONY_ENV=prod composer install --no-dev -o --prefer-dist | ||
52 | php bin/console wallabag:install --env=prod | 55 | php bin/console wallabag:install --env=prod |
53 | 56 | ||
54 | To start php's build-in server and test if everything did install correctly, you can do: | 57 | To start php's build-in server and test if everything did install correctly, you can do: |
diff --git a/docs/fr/user/installation.rst b/docs/fr/user/installation.rst index 1983ae25..9f1d540c 100644 --- a/docs/fr/user/installation.rst +++ b/docs/fr/user/installation.rst | |||
@@ -46,7 +46,10 @@ Pour installer wallabag, vous devez exécuter ces deux commandes : | |||
46 | 46 | ||
47 | :: | 47 | :: |
48 | 48 | ||
49 | SYMFONY_ENV=prod composer create-project wallabag/wallabag wallabag "2.0.0-beta.2" --no-dev --keep-vcs | 49 | git clone https://github.com/wallabag/wallabag.git |
50 | cd wallabag | ||
51 | git checkout 2.0.0-beta.2 | ||
52 | SYMFONY_ENV=prod composer install --no-dev -o --prefer-dist | ||
50 | php bin/console wallabag:install --env=prod | 53 | php bin/console wallabag:install --env=prod |
51 | 54 | ||
52 | Pour démarrer le serveur interne à php et vérifier que tout s'est installé correctement, vous pouvez exécuter : | 55 | Pour démarrer le serveur interne à php et vérifier que tout s'est installé correctement, vous pouvez exécuter : |