diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-02-04 21:39:02 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-02-04 21:39:02 +0100 |
commit | 7e8e1178b46cd000505e85335707e1c7761a12f3 (patch) | |
tree | b44a86068c1289015378f0a950440397623751c0 /README.md | |
parent | 22a267aeffa9e5b7d63e6a149501f9a1448e925f (diff) | |
download | wallabag-7e8e1178b46cd000505e85335707e1c7761a12f3.tar.gz wallabag-7e8e1178b46cd000505e85335707e1c7761a12f3.tar.zst wallabag-7e8e1178b46cd000505e85335707e1c7761a12f3.zip |
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
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -14,7 +14,7 @@ Keep in mind it's an **unstable** branch, everything can be broken :) | |||
14 | If you don't have it yet, please [install composer](https://getcomposer.org/download/). Then you can install wallabag by executing the following commands: | 14 | If you don't have it yet, please [install composer](https://getcomposer.org/download/). Then you can install wallabag by executing the following commands: |
15 | 15 | ||
16 | ``` | 16 | ``` |
17 | composer create-project wallabag/wallabag wallabag 2.0.*@alpha | 17 | SYMFONY_ENV=prod composer create-project wallabag/wallabag wallabag 2.0.*alpha --no-dev |
18 | php bin/console wallabag:install | 18 | php bin/console wallabag:install |
19 | php bin/console server:run | 19 | php bin/console server:run |
20 | ``` | 20 | ``` |