Sen descrición

kunickyd 30304b71b3 Merge branch 'master' of https://git.lesprojekt.cz/kunickyd/chain4all-service %!s(int64=3) %!d(string=hai) anos
.gitignore 8bfe1cbbbc convert-to-typescript %!s(int64=3) %!d(string=hai) anos
README.md 8a0d202b1c Update 'README.md' %!s(int64=3) %!d(string=hai) anos
app.ts db1f575f8e IROHA_ADDRESS settings %!s(int64=3) %!d(string=hai) anos
package.json 0116702b5f add cors support %!s(int64=3) %!d(string=hai) anos
tsconfig.json 8bfe1cbbbc convert-to-typescript %!s(int64=3) %!d(string=hai) anos

README.md

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:
CHAIN4ALL_SERVICE_PORT - port which should this service use (default: 3000)
PRICE_MODIFIER - price of one area unit (default: 0.5)
CHAIN4ALL_RASTER_CLIP_SCRIPT_PATH - path to a script, that servers extracted spatial data