@@ -75,8 +75,8 @@ If you fail to do this you might receive:
7575
7676Then, create the database and tables and set up the default workspace using:
7777
78- app/console doctrine:database:create
79- app/console doctrine:phpcr:init:dbal
78+ php app/console doctrine:database:create
79+ php app/console doctrine:phpcr:init:dbal
8080
8181### Install the Midgard2 PHPCR provider (optional, currently broken)
8282
@@ -107,12 +107,12 @@ First you need to create a workspace that will hold the data for the sandbox.
107107The default parameters.yml defines the workspace to be 'default'. You can
108108change this of course. If you do, f.e. to 'sandbox, also run the following command:
109109
110- app/console doctrine:phpcr:workspace:create sandbox
110+ php app/console doctrine:phpcr:workspace:create sandbox
111111
112112Once your workspace is set up, you need to [ register the node types] ( https://github.com/doctrine/phpcr-odm/wiki/Custom-node-type-phpcr%3Amanaged )
113113for PHPCR-ODM:
114114
115- app/console doctrine:phpcr:repository:init
115+ php app/console doctrine:phpcr:repository:init
116116
117117## Import the fixtures
118118
@@ -121,7 +121,7 @@ to programmatically create data. The best way to do that is with the doctrine
121121data fixtures. The DoctrinePHPCRBundle included in the symfony-cmf repository
122122provides a command to load fixtures:
123123
124- app/console -v doctrine:phpcr:fixtures:load
124+ php app/console -v doctrine:phpcr:fixtures:load
125125
126126Run this to load the fixtures from the Sandbox MainBundle.
127127
@@ -164,8 +164,8 @@ Then point your browser to http://cmf.lo/app_dev.php
164164In order to run the sandbox in production mode at http://cmf.lo/
165165you need to generate the doctrine proxies and dump the assetic assets:
166166
167- app/console cache:warmup --env=prod --no-debug
168- app/console assetic:dump --env=prod --no-debug
167+ php app/console cache:warmup --env=prod --no-debug
168+ php app/console assetic:dump --env=prod --no-debug
169169
170170# Getting started using Vagrant
171171
@@ -193,5 +193,5 @@ At the moment there is no notion of parents and sons in the admin bundle.
193193
194194Functional tests are written with PHPUnit. Note that Bundles and Components are tested independently:
195195
196- app/console doctrine:phpcr:workspace:create sandbox_test
197- phpunit -c app
196+ php app/console doctrine:phpcr:workspace:create sandbox_test
197+ phpunit -c app
0 commit comments