Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 29142eda authored by Ludovic Le Frioux's avatar Ludovic Le Frioux
Browse files

Update README.md

parent 898648cb
No related branches found
No related tags found
2 merge requests!48Release v1.1.4,!28Resolve "Update API provided by c-service"
Pipeline #193222 passed
...@@ -35,10 +35,16 @@ npm install ...@@ -35,10 +35,16 @@ npm install
2.**Start C-Service** 2.**Start C-Service**
First one need to compile build the project:
```bash
npm run build
```
Set database name and credentials and run service: Set database name and credentials and run service:
```bash ```bash
export DBNAME=my-database COUCHDB_USER=my-user COUCHDB_PASSWORD=my-passwd export COUCHDB_USER=my-user COUCHDB_PASSWORD=my-passwd
npm start npm start
``` ```
...@@ -48,6 +54,7 @@ You might need to change the binding address in the CouchDB admin panel to allow ...@@ -48,6 +54,7 @@ You might need to change the binding address in the CouchDB admin panel to allow
You can also run tests using: You can also run tests using:
```bash ```bash
export DBNAME=my-dbname COUCHDB_USER=my-user COUCHDB_PASSWORD=my-passwd
npm test npm test
``` ```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment