Skip to content

Commit

Permalink
minor #402 Add note about deploying dev environment to Heroku (bochar…
Browse files Browse the repository at this point in the history
…sky-bw, javiereguiluz)

This PR was merged into the master branch.

Discussion
----------

Add note about deploying dev environment to Heroku

According to the #398

Commits
-------

00259b7 Tweaked the warning message
5113ee5 Add note about deploying dev environment to Heroku
  • Loading branch information
javiereguiluz committed Nov 18, 2016
2 parents 665f1df + 00259b7 commit 61aeacb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@
"postdeploy": "php bin/console doctrine:schema:create && php bin/console doctrine:fixtures:load -n"
},
"env": {
"SYMFONY_ENV": "prod",
"SYMFONY_ENV": {
"value": "prod",
"description": "If you want to use the Symfony `dev` environment in the deployed application, you must move the necessary dependencies (like SensioGeneratorBundle) from `require-dev` to `require`. This will introduce security issues because development tools like the WebProfiler reveal sensitive information."
},
"SYMFONY_LOG": "php://stderr",
"SYMFONY_SECRET": {
"description": "Extra entropy for %kernel.secret%; used for CSRF tokens, cookies and signed URLs.",
Expand Down

0 comments on commit 61aeacb

Please sign in to comment.