-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Symfony Demo deploying to Heroku with dev environment fails #398
Comments
This issue affects me too. Did you solve this problem? |
I think it's documented here: https://devcenter.heroku.com/articles/getting-started-with-symfony#configuring-symfony-to-run-in-the-prod-environment
|
If you want to be able to use the Symfony dev env in the deployed version, you will indeed need to move the necessary dependencies to normal requirements rather than dev requirements. Note however that deploying the Symfony dev environment in a world-accessible deployment is a security issue, because development tools like the WebProfiler can be revealing sensitive info (they are meant to help debugging and so expose lots of info). You should definitely not be using the dev environment on heroku. It is meant for usage on your dev setup locally. |
Closing it as fixed by #399. A new version of the Symfony Demo app has been tagged, so it'll be available via |
@javiereguiluz Actually, #399 does not fix this issue, this one is a bit different. I reused @stof #398 (comment) here and sent another PR #402 to make things clearer. What do you think? |
hi can you help me i have some probleme bate i don' t have solution
! WARNING: A Composer script terminated with an exception |
Steps to reproduce:
SYMFONY_ENV
required variable todev
instead ofprod
which is by defaultLogs
Deploying with
prod
environment works fine though.The text was updated successfully, but these errors were encountered: