项目作者: fangmuke

项目描述 :
微信机器人
高级语言: TypeScript
项目地址: git://github.com/fangmuke/wechat-bot.git
创建时间: 2020-07-24T10:19:16Z
项目社区:https://github.com/fangmuke/wechat-bot

开源协议:

下载


WeChat Bot

Status:Dev.

微信机器人

How To Use

1. check node version, need to be $ge than v12.0.0

  1. node --version // >= v12.0.0

2. install node modules

After cloning the repo, change current directory to repo’s root folder:

RUN: yarn install or npm install

3. add local config file

RUN cp ./config/default.json ./config/local.json.

4. override local config file

Contact haoda to request following information.

  • server host
  • server port
  • padlocal token
  • server ca certification

Then fill them into local.json.

local.jsonhas been ruled by .gitignore, credentials are safe to store.

5. try the run

RUN: yarn run dev or npm run dev

6. build

RUN: yarn run build or npm run build

7. run

RUN: yarn run start or npm run start