Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit f063306

Browse files
committed
Merge remote-tracking branch 'origin/master' into 2.0
2 parents 6307df0 + 4327c02 commit f063306

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

cookbook/editions/cmf_sandbox.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ run:
115115

116116
.. code-block:: bash
117117
118-
$ php bin/console doctrine:database:create
118+
$ php app/console doctrine:database:create
119119
120120
If you don't have sqlite, you can specify ``pdo_mysql`` or ``pdo_pgsql`` and
121121
provide the database name and login credentials to use.
@@ -124,14 +124,14 @@ Then you have to set up your database with:
124124

125125
.. code-block:: bash
126126
127-
$ php bin/console doctrine:phpcr:init:dbal
127+
$ php app/console doctrine:phpcr:init:dbal --force
128128
129129
Once your database is set up, you need to `register the node types`_ for
130130
phpcr-odm:
131131

132132
.. code-block:: bash
133133
134-
$ php bin/console doctrine:phpcr:repository:init
134+
$ php app/console doctrine:phpcr:repository:init
135135
136136
Import the Fixtures
137137
~~~~~~~~~~~~~~~~~~~
@@ -141,7 +141,7 @@ They are loaded using the fixture loading concept of PHPCR-ODM.
141141

142142
.. code-block:: bash
143143
144-
$ php bin/console -v doctrine:phpcr:fixtures:load
144+
$ php app/console -v doctrine:phpcr:fixtures:load
145145
146146
This command loads fixtures from all bundles that provide them in the
147147
``DataFixtures/PHPCR`` folder. The sandbox has fixtures in the

tutorial/make-homepage.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,8 @@ Now empty your repository, reinitialize it and reload your fixtures:
198198

199199
.. code-block:: bash
200200
201+
$ php bin/console doctrine:phpcr:node:remove /cms
202+
$ php bin/console doctrine:phpcr:repository:init
201203
$ php bin/console doctrine:phpcr:fixtures:load
202204
203205
and verify that the ``cms`` node has been created correctly, using the

0 commit comments

Comments
 (0)