Skip to content

Commit

Permalink
Update readme to help running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cedriclombardot committed Jan 30, 2012
1 parent 15a82be commit 318d4b1
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Expand Up @@ -49,6 +49,18 @@ Then, install dependencies:


php composer.phar install php composer.phar install


Create the mysql databases to insert fixtures

mysqladmin -uroot create test
mysqladmin -uroot create reverse_bookstore
mysqladmin -uroot create bookstore_schemas
mysqladmin -uroot create contest
mysqladmin -uroot create second_hand_books

If phing is not in your path add:

export PHING_COMMAND=/YourPath/Propel2/vendor/phing/bin/phing

Once done, build fixtures: Once done, build fixtures:


php bin/propel test:prepare php bin/propel test:prepare
Expand All @@ -61,4 +73,4 @@ You'll need to create a database named `test`, and four schemas: `reverse_bookst


## License ## ## License ##


See the `LICENSE` file. See the `LICENSE` file.

0 comments on commit 318d4b1

Please sign in to comment.