hawkwithwind / padchat-client

dockerize padchat-sdk, and provide a restful API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

padchat-client

thanks to padchat-sdk, this project just dockerize it, and provide a restful API.

installation

docker build -t npm:padchat-client docker/npm
./run_npm.sh install

docker build -t padchat-client docker/runtime

config

config/config.json

{
  "padchatServer": "ws://padchat-sdk.botorange.com"
  , "padchatPort": 8988
  , "padchatToken": "yourtoken"
  , "clientId": "clientid"
  , "hubport": 13142
}

run

make dir bot001
mv config/ bot001/
mkdir bot001/logs

./run.sh bot001

About

dockerize padchat-sdk, and provide a restful API

License:MIT License


Languages

Language:JavaScript 98.2%Language:Shell 1.1%Language:Dockerfile 0.7%