From 1af3913446b367b357bb959fce3d5f266da3d641 Mon Sep 17 00:00:00 2001
From: Philipp Rieber
Date: Wed, 11 Mar 2015 13:14:57 +0100
Subject: [PATCH] [Cookbook] Add note about possible 404 error
---
cookbook/deployment/heroku.rst | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
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