Skip to content

Commit

Permalink
Add note about deploying dev environment to Heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
bocharsky-bw committed Nov 13, 2016
1 parent 665f1df commit 5113ee5
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 be able to use the Symfony `dev` environment in the deployed version, you will need to move the necessary dependencies like `SensioGeneratorBundle` to normal requirements rather than `dev` requirements, but it will be a security issue, because development tools like the `WebProfiler` can be revealing 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 5113ee5

Please sign in to comment.