Преглед изворни кода

Merge branch 'master' of https://git.lesprojekt.cz/kunickyd/iroha-rest-api

kunickyd пре 3 година
родитељ
комит
8988937965
1 измењених фајлова са 7 додато и 5 уклоњено
  1. 7 5
      README.md

+ 7 - 5
README.md

@@ -1,12 +1,14 @@
 # iroha-rest-api
 ## How to run:
-
 1. You need Python and Flask installed on your system
-2. Export these enviromental variables:
-
+2. Export these enviromental variables:<br />
     `export FLASK_APP=$PWD/app.py`    
     `export FLASK_ENV=development`
 3. Run `flask run` command
 
-
-
+## Configuration:
+You can configure iroha-rest-api using following enviromental variables:<br />
+`IROHA_HOST_ADDR` - address of Iroha ledger (default: 127.0.0.1)<br />
+`IROHA_PORT` - port of Iroha ledger (default: 50051)<br />
+`ADMIN_ACCOUNT_ID` - user and domain name of Iroha admin (default: admin@test)<br />
+`ADMIN_PRIVATE_KEY` - private key of Iroha admin (default: f101537e319568c765b2cc89698325604991dca57b9716b58016b253506cab70)