Add lib dependencies description to Readme

This commit is contained in:
jums
2019-08-24 20:18:07 +02:00
parent c56fc67920
commit 21c73add31

View File

@@ -23,12 +23,30 @@ git clone https://github.com/inventaire/inventaire.git
git clone https://github.com/inventaire/entities-search-engine.git
```
Create empty folders for docker volume to dump backup. In accordance with docker-compose volumes, example: `mkdir data couch-test couch es`
Start the magic, build everything at once !
Create empty folders for docker volumes to set themselves.
In accordance with docker-compose volumes, example: `mkdir data couch-test couch es`
Start the magic, build everything !
```
docker-compose up --build
docker-compose build
```
Then download de Node dependencies, thanks to the magnificient `npm`:
```
sudo docker run --user 1000 --rm --volume "$(pwd):/opt/" --workdir '/opt/inventaire' node:8 npm install
```
This command run also the postinstall script which install the client
Install also the translation dependencies of
[inventaire-i18n](https://github.com/inventaire/inventaire-i18n/) [need more details]
Finally, start the build with
```
docker-compose up
```
## Useful commands