- golang 1.10+
- mongodb
- clone code to $GOPATH/src/github.com/iost-official/iost-api
- add config file cp backend/config/config.json.sample backend/config/config.json
update the
rpcHost
,mongodb
config if need - Run blockchain sync task:
cd task
make
nohup ./iost-api-task &
- Run REST api service
cd $GOPATH/src/github.com/iost-official/iost-api
make
nohup ./iost-api&