Skip to content

Commit

Permalink
Merge pull request #36 from mdpatrick/made_bash_syntax_consistent
Browse files Browse the repository at this point in the history
Made bash syntax in the readme more clear and consistent.
  • Loading branch information
brikou committed Aug 12, 2011
2 parents a01718c + c3a3156 commit 6de3edd
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 6de3edd

Please sign in to comment.