Permalink
Browse files

Update readme to help running tests

  • Loading branch information...
1 parent 15a82be commit 318d4b1d16a5394a4da149e24ee40b7ae21c22f7 @cedriclombardot cedriclombardot committed Jan 30, 2012
Showing with 13 additions and 1 deletion.
  1. +13 −1 README.md
View
@@ -49,6 +49,18 @@ Then, install dependencies:
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:
php bin/propel test:prepare
@@ -61,4 +73,4 @@ You'll need to create a database named `test`, and four schemas: `reverse_bookst
## License ##
-See the `LICENSE` file.
+See the `LICENSE` file.

0 comments on commit 318d4b1

Please sign in to comment.