From c118131317742a4b77031af89d19eba3b5eabd24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Thu, 10 Mar 2016 13:04:56 +0100 Subject: git clone with prefer-dist option --- README.md | 9 ++++++--- docs/en/user/installation.rst | 5 ++++- docs/fr/user/installation.rst | 5 ++++- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index c12a84e3..e175b6c3 100644 --- a/README.md +++ b/README.md @@ -15,9 +15,12 @@ If you don't have it yet, please [install composer](https://getcomposer.org/down Then you can install wallabag by executing the following commands: ``` -SYMFONY_ENV=prod composer create-project wallabag/wallabag wallabag "2.0.0-beta.2" --no-dev --keep-vcs -php bin/console wallabag:install --env=prod -php bin/console server:run --env=prod + git clone https://github.com/wallabag/wallabag.git + cd wallabag + git checkout 2.0.0-beta.2 + SYMFONY_ENV=prod composer install --no-dev -o --prefer-dist + php bin/console wallabag:install --env=prod + php bin/console server:run --env=prod ``` ## 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: :: - SYMFONY_ENV=prod composer create-project wallabag/wallabag wallabag "2.0.0-beta.2" --no-dev --keep-vcs + git clone https://github.com/wallabag/wallabag.git + cd wallabag + git checkout 2.0.0-beta.2 + SYMFONY_ENV=prod composer install --no-dev -o --prefer-dist php bin/console wallabag:install --env=prod 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 : :: - SYMFONY_ENV=prod composer create-project wallabag/wallabag wallabag "2.0.0-beta.2" --no-dev --keep-vcs + git clone https://github.com/wallabag/wallabag.git + cd wallabag + git checkout 2.0.0-beta.2 + SYMFONY_ENV=prod composer install --no-dev -o --prefer-dist php bin/console wallabag:install --env=prod Pour démarrer le serveur interne à php et vérifier que tout s'est installé correctement, vous pouvez exécuter : -- cgit v1.2.3