onface / webhook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@onface/webhook

gitlab webhook

Environment depends on

node@8.9.0
yarn@1.13.0
mysql@5.7

config

Create File: /config/deploy.json

{
  "port": 3212,
  "setupPassword": "90b50271-ce0d-414d-8847-bfd14d86a665",
  "mysql": {
    "host": "",
    "port": "",
    "user": "",
    "password": "",
    "database": "webhook"
  }
}

Please create a new setupPasswordhttps://www.uuidgenerator.net/

Deploy

$ git clone https://github.com/onface/webhook.git
$ yarn
$ npm start
$ npm stop

Development

$ npm i
$ npm run dev
$ open http://localhost:7001/

npm scripts

  • Use npm run lint to check code style.
  • Use npm test to run unit test.
  • Use npm run autod to auto detect dependencies upgrade, see autod for more detail.

About


Languages

Language:HTML 53.0%Language:JavaScript 47.0%