tree: be8e6358a6562f64f35344adcca0ca1534ab9d9c [path history] [tgz]
  1. conf/
  2. ssl/
  3. clean.sh
  4. db.js
  5. docker-compose.yaml
  6. kie-conf.yaml
  7. public.key
  8. README.md
examples/dev/README.md

Intro

this guide will show you how to develop servicecomb-kie in your local machine.

servicecomb-kie only depend on mongodb, so you have 2 choices

  • setup a mongodb and give credential in kie-conf.yaml
  • setup a simple mongodb alone with admin UI by docker compose

in this guide, we will use mongodb launched by docker compose

Get started

1.Build

cd examples/dev
go build github.com/apache/servicecomb-kie/cmd/kieserver

2.Run mongodb and servicecomb-kie

sudo docker-compose up
./kieserver --config kie-conf.yaml

mongodb admin UI

http://127.0.0.1:8081/

#servicecomb-kie endpoint http://127.0.0.1:30110/

API document

the API doc will be generated under examples/dev/conf/servicecomb-kie/schema

you can copy it to https://editor.swagger.io/ to see full API document