Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions book/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,20 @@ And then access the CMF via:

http://localhost:8000
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this not be app_dev.php as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

afaik this is not necessary, because console commands are normaly called in the dev environment.. so der server 'created' by a console command also runs in the dev environment..

if you try to run the command with env=prod you run in the same issue as if you dont at the app_dev on apache

.. so its only necessary to add app_dev.php if you run it on apache



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

.. 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

If you prefer to use another database backend, for example MySQL, run the
Expand Down