@@ -72,7 +72,7 @@ and then get the Symfony CMF code with it (this may take a while):
7272
7373This will clone the Standard Edition and install all the dependencies and run
7474some initial commands. These commands require write permissions to the
75- ``app /cache `` and ``app /logs `` directory. In case the final commands end up
75+ ``var /cache `` and ``var /logs `` directory. In case the final commands end up
7676giving permissions errors, please follow the `guidelines in the Symfony Book `_
7777to configure the permissions and then run the ``install `` command:
7878
@@ -115,10 +115,10 @@ database backend just go ahead and run the following:
115115
116116.. code-block :: bash
117117
118- $ php app /console doctrine:database:create
119- $ php app /console doctrine:phpcr:init:dbal --force
120- $ php app /console doctrine:phpcr:repository:init
121- $ php app /console doctrine:phpcr:fixtures:load
118+ $ php bin /console doctrine:database:create
119+ $ php bin /console doctrine:phpcr:init:dbal --force
120+ $ php bin /console doctrine:phpcr:repository:init
121+ $ php bin /console doctrine:phpcr:fixtures:load
122122
123123 The first command will create a file called ``app.sqlite `` inside your app
124124folder, containing the database content. The two commands after it will setup
@@ -133,7 +133,7 @@ to dump the assets to the filesystem:
133133
134134.. code-block :: bash
135135
136- $ php app /console --env=prod assetic:dump
136+ $ php bin /console --env=prod assetic:dump
137137
138138 Configure a Webserver
139139~~~~~~~~~~~~~~~~~~~~~
@@ -143,7 +143,7 @@ installed you can alternatively use the PHP internal web server:
143143
144144.. code-block :: bash
145145
146- $ php app /console server:run
146+ $ php bin /console server:run
147147
148148 And then access the CMF via:
149149
@@ -234,9 +234,9 @@ following commands:
234234
235235.. code-block :: bash
236236
237- $ php app /console doctrine:phpcr:node:dump
238- $ php app /console doctrine:phpcr:node:dump --props
239- $ php app /console doctrine:phpcr:node:dump /path/to/node
237+ $ php bin /console doctrine:phpcr:node:dump
238+ $ php bin /console doctrine:phpcr:node:dump --props
239+ $ php bin /console doctrine:phpcr:node:dump /path/to/node
240240
241241 The above examples respectively show a summary, a detailed view, and a summary
242242of a node and all its children (instead of starting at the root node).
@@ -245,7 +245,7 @@ Don't forget to look at the ``--help`` output for more possibilities:
245245
246246.. code-block :: bash
247247
248- $ php app /console doctrine:phpcr:node:dump --help
248+ $ php bin /console doctrine:phpcr:node:dump --help
249249
250250 Adding new pages
251251~~~~~~~~~~~~~~~~
@@ -270,7 +270,7 @@ The contents of this file can be loaded into the PHPCR database by calling:
270270
271271.. code-block :: bash
272272
273- $ php app /console doctrine:phpcr:migrator:migrate page --identifier=/cms/simple/test
273+ $ php bin /console doctrine:phpcr:migrator:migrate page --identifier=/cms/simple/test
274274
275275 Note that the above identifier is mapped to
276276``app/Resources/data/pages/test.yml `` by stripping off the ``basepath ``
@@ -282,7 +282,7 @@ and then run the following command:
282282
283283.. code-block :: bash
284284
285- $ php app /console doctrine:phpcr:migrator:migrate page --identifier=/cms/simple/test/foo
285+ $ php bin /console doctrine:phpcr:migrator:migrate page --identifier=/cms/simple/test/foo
286286
287287 .. _`cmf.liip.ch` : http://cmf.liip.ch
288288.. _`Requirements for running Symfony2` : https://symfony.com/doc/current/reference/requirements.html
0 commit comments