From 29142eda316057370d5b027931b4c678c55916a2 Mon Sep 17 00:00:00 2001 From: Ludovic Le Frioux <ludovic.le-frioux@inria.fr> Date: Thu, 3 Dec 2020 17:02:14 +0100 Subject: [PATCH] Update README.md --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 53aa224..493e22b 100644 --- a/README.md +++ b/README.md @@ -35,10 +35,16 @@ npm install 2.**Start C-Service** +First one need to compile build the project: + +```bash +npm run build +``` + Set database name and credentials and run service: ```bash -export DBNAME=my-database COUCHDB_USER=my-user COUCHDB_PASSWORD=my-passwd +export COUCHDB_USER=my-user COUCHDB_PASSWORD=my-passwd npm start ``` @@ -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: ```bash +export DBNAME=my-dbname COUCHDB_USER=my-user COUCHDB_PASSWORD=my-passwd npm test ``` -- GitLab