diff --git a/cookbook/deployment/heroku.rst b/cookbook/deployment/heroku.rst index 44f33b46362..3bfe731a375 100644 --- a/cookbook/deployment/heroku.rst +++ b/cookbook/deployment/heroku.rst @@ -208,6 +208,14 @@ application will respond: You should be seeing your Symfony application in your browser. +.. caution:: + + If you take your first steps on Heroku using a fresh installation of + the Symfony Standard Edition, you may run into a 404 page not found error. + This is because the route for ``/`` is defined by the AcmeDemoBundle, but the + AcmeDemoBundle is only loaded in the dev environment (check out your + ``AppKernel`` class). Try opening ``/app/example`` from the AppBundle. + .. _`the original article`: https://devcenter.heroku.com/articles/getting-started-with-symfony2 .. _`signup with Heroku`: https://signup.heroku.com/signup/dc .. _`Heroku Toolbelt`: https://devcenter.heroku.com/articles/getting-started-with-php#local-workstation-setup @@ -216,4 +224,4 @@ You should be seeing your Symfony application in your browser. .. _`Logplex`: https://devcenter.heroku.com/articles/logplex .. _`verified that the RSA key fingerprint is correct`: https://devcenter.heroku.com/articles/git-repository-ssh-fingerprints .. _`post-install-commands`: https://getcomposer.org/doc/articles/scripts.md -.. _`config vars`: https://devcenter.heroku.com/articles/config-vars \ No newline at end of file +.. _`config vars`: https://devcenter.heroku.com/articles/config-vars