diff --git a/README.md b/README.md index 53aa2247671f3bd228e4f53e8cbc1544a9697a7c..493e22bb0102487ab17fddbfead99b974caf4746 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 ```