https://github.com/onface/webhook
https://github.com/onface/webhook
Last synced: 24 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/onface/webhook
- Owner: onface
- Created: 2019-01-25T03:15:12.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-25T09:44:27.000Z (over 6 years ago)
- Last Synced: 2025-02-17T09:43:08.858Z (4 months ago)
- Language: HTML
- Size: 296 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# @onface/webhook
gitlab webhook
### Environment depends on
```bash
[email protected]
[email protected]
[email protected]
```### config
Create File: `/config/deploy.json`
```json
{
"port": 3212,
"setupPassword": "90b50271-ce0d-414d-8847-bfd14d86a665",
"mysql": {
"host": "",
"port": "",
"user": "",
"password": "",
"database": "webhook"
}
}
```Please create a new `setupPassword`。 [https://www.uuidgenerator.net/](https://www.uuidgenerator.net/)
### Deploy
```bash
$ git clone https://github.com/onface/webhook.git
$ yarn
$ npm start
$ npm stop
```### Development
```bash
$ 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](https://www.npmjs.com/package/autod) for more detail.[egg]: https://eggjs.org