Skip to content

Commit 1af3913

Browse files
committed
[Cookbook] Add note about possible 404 error
1 parent e49a228 commit 1af3913

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

cookbook/deployment/heroku.rst

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,14 @@ application will respond:
208208
209209
You should be seeing your Symfony application in your browser.
210210

211+
.. caution::
212+
213+
If you take your first steps on Heroku using a fresh installation of
214+
the Symfony Standard Edition, you may run into a 404 page not found error.
215+
This is because the route for ``/`` is defined by the AcmeDemoBundle, but the
216+
AcmeDemoBundle is only loaded in the dev environment (check out your
217+
``AppKernel`` class). Try opening ``/app/example`` from the AppBundle.
218+
211219
.. _`the original article`: https://devcenter.heroku.com/articles/getting-started-with-symfony2
212220
.. _`signup with Heroku`: https://signup.heroku.com/signup/dc
213221
.. _`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.
216224
.. _`Logplex`: https://devcenter.heroku.com/articles/logplex
217225
.. _`verified that the RSA key fingerprint is correct`: https://devcenter.heroku.com/articles/git-repository-ssh-fingerprints
218226
.. _`post-install-commands`: https://getcomposer.org/doc/articles/scripts.md
219-
.. _`config vars`: https://devcenter.heroku.com/articles/config-vars
227+
.. _`config vars`: https://devcenter.heroku.com/articles/config-vars

0 commit comments

Comments
 (0)