From: Jeremy Benoist Date: Thu, 4 Feb 2016 20:39:02 +0000 (+0100) Subject: Force prod env on project creation X-Git-Tag: 2.0.0-beta.1~53^2 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=7e8e1178b46cd000505e85335707e1c7761a12f3;p=github%2Fwallabag%2Fwallabag.git Force prod env on project creation 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 --- diff --git a/README.md b/README.md index 590696c1..80a8c9c4 100644 --- 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 ```