]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
git clone with prefer-dist option 1763/head
authorNicolas Lœuillet <nicolas@loeuillet.org>
Thu, 10 Mar 2016 12:04:56 +0000 (13:04 +0100)
committerNicolas Lœuillet <nicolas@loeuillet.org>
Thu, 10 Mar 2016 12:04:56 +0000 (13:04 +0100)
README.md
docs/en/user/installation.rst
docs/fr/user/installation.rst

index c12a84e36530d958e514f2c78348cd5bde856683..e175b6c32bf21c09ab0b144a61d74cf05047dadc 100644 (file)
--- 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
index 88647333133e45ee8c39c7f643bc182c2862121f..99dc0a7672110a78a524a9bdb291349456467daa 100644 (file)
@@ -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:
index 1983ae25f5240f1a347530260fa8521e84ff2441..9f1d540c3f5297bc3a7f3aca81411bad7b90d5ef 100644 (file)
@@ -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 :