From ec604c2ae9f845a21b0d8004e53585e5b2666094 Mon Sep 17 00:00:00 2001 From: falk-graeser Date: Tue, 22 Jul 2014 00:07:45 +0200 Subject: [PATCH 1/2] Update installation.rst Adding notice that the AcmeDemoBundle is only accessible in the dev environment. So that newbies are less likely to see an Exception right from the start. --- book/installation.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/book/installation.rst b/book/installation.rst index 38763458..a089e6b2 100644 --- a/book/installation.rst +++ b/book/installation.rst @@ -128,6 +128,14 @@ And then access the CMF via: http://localhost:8000 +Or if you run a default apache installation: + +.. code-block:: text + + http://localhost/app_dev.php + +Notice that the AcmeDemoBundle is only accessible in the dev environment. + .. sidebar:: Using Other Database Backends If you prefer to use another database backend, for example MySQL, run the From 572e70f8eaa2f0b08eb438557396eba81152f183 Mon Sep 17 00:00:00 2001 From: falk-graeser Date: Tue, 21 Oct 2014 00:09:11 +0200 Subject: [PATCH 2/2] add url to symfony cookbook web server installation and explain why dev environement is necessary --- book/installation.rst | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/book/installation.rst b/book/installation.rst index a089e6b2..47fd7d5e 100644 --- a/book/installation.rst +++ b/book/installation.rst @@ -128,13 +128,19 @@ And then access the CMF via: http://localhost:8000 -Or if you run a default apache installation: + +Or if you run a default apache installation like described in the cookbook of symfony (http://symfony.com/doc/current/cookbook/configuration/web_server_configuration.html): .. code-block:: text http://localhost/app_dev.php -Notice that the AcmeDemoBundle is only accessible in the dev environment. +.. note:: + + Adding the ``app_dev.php`` to the url in your browser is important to actually + see the test page. Because the AcmeDemoBundle is only configured to work with the + Development Environment. (If you have a look at ``AppKernel.php`` you can easily + spot why) .. sidebar:: Using Other Database Backends