Skip to content

Commit 5113ee5

Browse files
committed
Add note about deploying dev environment to Heroku
1 parent 665f1df commit 5113ee5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

app.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@
1313
"postdeploy": "php bin/console doctrine:schema:create && php bin/console doctrine:fixtures:load -n"
1414
},
1515
"env": {
16-
"SYMFONY_ENV": "prod",
16+
"SYMFONY_ENV": {
17+
"value": "prod",
18+
"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."
19+
},
1720
"SYMFONY_LOG": "php://stderr",
1821
"SYMFONY_SECRET": {
1922
"description": "Extra entropy for %kernel.secret%; used for CSRF tokens, cookies and signed URLs.",

0 commit comments

Comments
 (0)