浏览代码

Merge branch 'master' of https://git.lesprojekt.cz/kunickyd/chain4all-service

kunickyd 3 年之前
父节点
当前提交
c2f01222ee
共有 1 个文件被更改,包括 13 次插入0 次删除
  1. 13 0
      README.md

+ 13 - 0
README.md

@@ -0,0 +1,13 @@
+# chain4all-service
+## How to run:
+1. You need Node installed on your system
+2. Run `npm install` 
+3. Run `npm run dev`
+4. Enjoy!
+
+## Configuration:
+You can configure chain4all-service using following enviromental variables:<br />
+`CHAIN4ALL_SERVICE_PORT` - port which should this service use (default: 3000)<br />
+`IROHA_API_HOST` - host address of [iroha-rest-api](https://git.lesprojekt.cz/kunickyd/iroha-rest-api) (default: http://localhost)<br />
+`IROHA_API_PORT` - port of [iroha-rest-api](https://git.lesprojekt.cz/kunickyd/iroha-rest-api) (default: 5000)<br />
+`IROHA_DOMAIN` - name of Iroha domain, see [this](https://iroha.readthedocs.io/en/main/concepts_architecture/glossary.html?highlight=domain#domain) (default: test)<br />