]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Force prod env on project creation 1647/head
authorJeremy Benoist <jeremy.benoist@gmail.com>
Thu, 4 Feb 2016 20:39:02 +0000 (21:39 +0100)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Thu, 4 Feb 2016 20:39:02 +0000 (21:39 +0100)
So the only solution I found so far is to force the `prod` env when create the project with composer.
There is other solution.

Since the `cache:clear` task is using `dev` env by default, so it tries to load dev bundle, which aren't there since we specify `--no-dev`.

Fix #1617

README.md

index 590696c136f68ab6485b1cf600b0e54027f79f3c..80a8c9c421861dc86c65a5af47e63fd0b430b0f1 100644 (file)
--- a/README.md
+++ b/README.md
@@ -14,7 +14,7 @@ Keep in mind it's an **unstable** branch, everything can be broken :)
 If you don't have it yet, please [install composer](https://getcomposer.org/download/). Then you can install wallabag by executing the following commands:
 
 ```
-composer create-project wallabag/wallabag wallabag 2.0.*@alpha
+SYMFONY_ENV=prod composer create-project wallabag/wallabag wallabag 2.0.*alpha --no-dev
 php bin/console wallabag:install
 php bin/console server:run
 ```