@@ -71,21 +71,21 @@ To disable the meta data and node cache for debugging comment the ``caches`` set
71
71
72
72
Then, create the database and tables and set up the default workspace using:
73
73
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
76
76
77
77
## Prepare the PHPCR repository
78
78
79
79
First you need to create a workspace that will hold the data for the sandbox.
80
80
The default parameters.yml defines the workspace to be 'default'. You can
81
81
change this of course. If you do, f.e. to 'sandbox, also run the following command:
82
82
83
- php app /console doctrine:phpcr:workspace:create sandbox
83
+ php bin /console doctrine:phpcr:workspace:create sandbox
84
84
85
85
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 )
86
86
for PHPCR-ODM:
87
87
88
- php app /console doctrine:phpcr:repository:init
88
+ php bin /console doctrine:phpcr:repository:init
89
89
90
90
## Import the fixtures
91
91
@@ -94,7 +94,7 @@ to programmatically create data. The best way to do that is with the doctrine
94
94
data fixtures. The DoctrinePHPCRBundle included in the symfony-cmf repository
95
95
provides a command to load fixtures:
96
96
97
- php app /console -v doctrine:phpcr:fixtures:load
97
+ php bin /console -v doctrine:phpcr:fixtures:load
98
98
99
99
Run this to load the fixtures from the Sandbox AppBundle.
100
100
@@ -137,8 +137,8 @@ Then point your browser to http://cmf.lo/app_dev.php
137
137
In order to run the sandbox in production mode at http://cmf.lo/
138
138
you need to generate the doctrine proxies and dump the assetic assets:
139
139
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
142
142
143
143
# Getting started using Vagrant
144
144
@@ -149,7 +149,7 @@ please checkout the [README.md](vagrant) in the vagrant/ folder of the project
149
149
## Console
150
150
151
151
The 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.
153
153
154
154
## Admin interface
155
155
@@ -166,7 +166,7 @@ At the moment there is no notion of parents and sons in the admin bundle.
166
166
167
167
Functional tests are written with PHPUnit. Note that Bundles and Components are tested independently:
168
168
169
- php app /console doctrine:phpcr:workspace:create sandbox_test
169
+ php bin /console doctrine:phpcr:workspace:create sandbox_test
170
170
phpunit -c app
171
171
172
172
## Remove demo configuration
0 commit comments