update readme fixtures

This commit is contained in:
vinny
2018-05-08 16:43:17 +02:00
parent 40a44596f5
commit 15a2ddc381

17
Readme
View File

@@ -20,3 +20,20 @@ git clone https://github.com/inventaire/inventaire.git
cp utils/config/local.coffee inventaire/config/local.coffee
docker-compose up -d
```
## Fixtures
You will propbably want to play with some fixtures data.
- Start the containers
- Run api tests to populate tests dbs:
```
docker-compose exec app npm run test-api
```
- Replicate `*-tests` dbs documents into `*` dbs
```
docker-compose exec app npm run replicate-tests-db
```