@@ -71,21 +71,21 @@ To disable the meta data and node cache for debugging comment the ``caches`` set
7171
7272Then, create the database and tables and set up the default workspace using:
7373
74- php app /console doctrine:database:create
75- php app /console doctrine:phpcr:init:dbal
74+ php bin /console doctrine:database:create
75+ php bin /console doctrine:phpcr:init:dbal
7676
7777## Prepare the PHPCR repository
7878
7979First you need to create a workspace that will hold the data for the sandbox.
8080The default parameters.yml defines the workspace to be 'default'. You can
8181change this of course. If you do, f.e. to 'sandbox, also run the following command:
8282
83- php app /console doctrine:phpcr:workspace:create sandbox
83+ php bin /console doctrine:phpcr:workspace:create sandbox
8484
8585Once your workspace is set up, you need to [ register the node types] ( https://github.com/doctrine/phpcr-odm/wiki/Custom-node-type-phpcr%3Amanaged )
8686for PHPCR-ODM:
8787
88- php app /console doctrine:phpcr:repository:init
88+ php bin /console doctrine:phpcr:repository:init
8989
9090## Import the fixtures
9191
@@ -94,7 +94,7 @@ to programmatically create data. The best way to do that is with the doctrine
9494data fixtures. The DoctrinePHPCRBundle included in the symfony-cmf repository
9595provides a command to load fixtures:
9696
97- php app /console -v doctrine:phpcr:fixtures:load
97+ php bin /console -v doctrine:phpcr:fixtures:load
9898
9999Run this to load the fixtures from the Sandbox AppBundle.
100100
@@ -137,8 +137,8 @@ Then point your browser to http://cmf.lo/app_dev.php
137137In order to run the sandbox in production mode at http://cmf.lo/
138138you need to generate the doctrine proxies and dump the assetic assets:
139139
140- php app /console cache:warmup --env=prod --no-debug
141- php app /console assetic:dump --env=prod --no-debug
140+ php bin /console cache:warmup --env=prod --no-debug
141+ php bin /console assetic:dump --env=prod --no-debug
142142
143143# Getting started using Vagrant
144144
@@ -149,7 +149,7 @@ please checkout the [README.md](vagrant) in the vagrant/ folder of the project
149149## Console
150150
151151The PHPCR ODM Bundle provides a couple of useful commands in the doctrine: phpcr namespace.
152- Type app /console to see them all.
152+ Type bin /console to see them all.
153153
154154## Admin interface
155155
@@ -166,7 +166,7 @@ At the moment there is no notion of parents and sons in the admin bundle.
166166
167167Functional tests are written with PHPUnit. Note that Bundles and Components are tested independently:
168168
169- php app /console doctrine:phpcr:workspace:create sandbox_test
169+ php bin /console doctrine:phpcr:workspace:create sandbox_test
170170 phpunit -c app
171171
172172## Remove demo configuration
0 commit comments