Skip to content

Commit

Permalink
Made bash syntax in the readme more clear and consistent.
Browse files Browse the repository at this point in the history
  • Loading branch information
mdpatrick committed Aug 12, 2011
1 parent a01718c commit c3a3156
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ $loader->registerNamespaces(array(

### Register AcmePizzaBundle to Kernel


``` php
<?php

Expand All @@ -60,8 +59,10 @@ $loader->registerNamespaces(array(

### Create database and schema

./app/console doctrine:database:create
./app/console doctrine:schema:create
``` bash
$ php app/console doctrine:database:create
$ php app/console doctrine:schema:create
```

### Enable routing configuration

Expand All @@ -75,15 +76,19 @@ AcmePizzaBundle:
### Refresh asset folder
./app/console assets:install web/
``` bash
$ php app/console assets:install web/
```

### Data fixtures (optional)

First, make sure that your db parameters are correctly set in `app/config/parameters.ini`.
You'll need to install ``Doctrine Data Fixtures`` (don't forget to add the
path to `AppKernel.php`) and then run:

./app/console doctrine:fixtures:load
``` bash
$ php app/console doctrine:fixtures:load
```

You can read about install instructions in the Symfony2 Cookbook(http://symfony.com/doc/2.0/cookbook/doctrine/doctrine_fixtures.html#setup-and-configuration)

Expand Down

0 comments on commit c3a3156

Please sign in to comment.