Skip to content

Commit fb75d83

Browse files
committed
Merge pull request #225 from weyandch/patch-1
prefixing console commands with php
2 parents 30a9266 + 58f0f71 commit fb75d83

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ If you fail to do this you might receive:
7575

7676
Then, 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.
107107
The default parameters.yml defines the workspace to be 'default'. You can
108108
change 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

112112
Once your workspace is set up, you need to [register the node types](https://github.com/doctrine/phpcr-odm/wiki/Custom-node-type-phpcr%3Amanaged)
113113
for 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
121121
data fixtures. The DoctrinePHPCRBundle included in the symfony-cmf repository
122122
provides a command to load fixtures:
123123

124-
app/console -v doctrine:phpcr:fixtures:load
124+
php app/console -v doctrine:phpcr:fixtures:load
125125

126126
Run 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
164164
In order to run the sandbox in production mode at http://cmf.lo/
165165
you 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

194194
Functional 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

Comments
 (0)