Skip to content

Commit 7985b89

Browse files
authored
Merge pull request #351 from fbourigault/fix-console-path
fix the console path in documentation
2 parents 58244dc + b89e909 commit 7985b89

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -71,21 +71,21 @@ To disable the meta data and node cache for debugging comment the ``caches`` set
7171

7272
Then, 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

7979
First you need to create a workspace that will hold the data for the sandbox.
8080
The default parameters.yml defines the workspace to be 'default'. You can
8181
change 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

8585
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)
8686
for 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
9494
data fixtures. The DoctrinePHPCRBundle included in the symfony-cmf repository
9595
provides 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

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

151151
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.
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

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

vagrant/cookbook/recipes/default.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@
118118
COMPOSER_VENDOR_DIR="/var/tmp/vendor" php composer.phar install
119119
echo "Waiting for Jackrabbit:"
120120
while [[ -z `curl -s "http://localhost:8080"` ]] ; do sleep 1s; echo -n "."; done
121-
app/console doctrine:phpcr:workspace:create sandbox
122-
app/console doctrine:phpcr:repository:init
123-
app/console doctrine:phpcr:fixtures:load
121+
bin/console doctrine:phpcr:workspace:create sandbox
122+
bin/console doctrine:phpcr:repository:init
123+
bin/console doctrine:phpcr:fixtures:load
124124
EOH
125125
end

0 commit comments

Comments
 (0)