Files
docker-inventaire/Readme

40 lines
830 B
Plaintext
Raw Normal View History

Readme
To run inventaire in a docker-compose setup
## Install
Get [docker-compose](https://docs.docker.com/compose/gettingstarted/) on your machine
Clone this repo
```
git clone https://github.com/inventaire/inventaire-docker.git
cd inventaire-docker
```
then setup you own inventaire locally within inventaire-docker folder.
Copy docker utils files into inventaire folder if necessary
```
git clone https://github.com/inventaire/inventaire.git
cp utils/config/local.coffee inventaire/config/local.coffee
docker-compose up -d
```
2018-05-08 16:43:17 +02:00
## 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
```