From: Nicolas Lœuillet Date: Thu, 10 Mar 2016 12:04:56 +0000 (+0100) Subject: git clone with prefer-dist option X-Git-Tag: 2.0.0-beta.2~5^2 X-Git-Url: https://git.immae.eu/?p=github%2Fwallabag%2Fwallabag.git;a=commitdiff_plain;h=c118131317742a4b77031af89d19eba3b5eabd24 git clone with prefer-dist option --- 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 :