From 7e8e1178b46cd000505e85335707e1c7761a12f3 Mon Sep 17 00:00:00 2001 From: Jeremy Benoist Date: Thu, 4 Feb 2016 21:39:02 +0100 Subject: [PATCH] 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 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 590696c13..80a8c9c42 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 ```