mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
Update README for more specific behat setup rules
Include the database and schema creation and add phpcr initalization note
This commit is contained in:
parent
b2f6bfa43a
commit
f3624154f3
1 changed files with 10 additions and 0 deletions
10
README.md
10
README.md
|
|
@ -29,6 +29,9 @@ to run Composer tool with `--dev` option:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ php composer.phar install --dev
|
$ php composer.phar install --dev
|
||||||
|
$ php app/console doctrine:database:create
|
||||||
|
$ php app/console doctrine:schema:create
|
||||||
|
$ php app/console doctrine:phpcr:repository:init
|
||||||
```
|
```
|
||||||
|
|
||||||
[Behat](http://behat.org) scenarios
|
[Behat](http://behat.org) scenarios
|
||||||
|
|
@ -48,6 +51,13 @@ Then download [Selenium Server](http://seleniumhq.org/download/), and run it.
|
||||||
$ java -jar selenium-server-standalone-2.39.0.jar
|
$ java -jar selenium-server-standalone-2.39.0.jar
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Then setup your test database
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ php app/console doctrine:database:create --env=test
|
||||||
|
$ php app/console doctrine:schema:create --env=test
|
||||||
|
```
|
||||||
|
|
||||||
You can run Behat using the following command.
|
You can run Behat using the following command.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue