1
0
포크 0

Fix README

master
Marrub 2016-10-29 03:51:34 -04:00 committed by GitHub
부모 b858280b9d
커밋 2da572baec
1개의 변경된 파일5개의 추가작업 그리고 2개의 파일을 삭제

파일 보기

@ -9,11 +9,14 @@ and pull requests if you need features added.
## Environment Configuration
- `PORT`: Port to host on. Required.
- `WEBHOOK_PORT`: Port to host on. Required.
- `WEBHOOK_URI`: URI for the webhook to send to. Required.
- `GITHUB_SECRET`: Secret key for validating requests. Not required, but *heavily recommended*.
- `VHOST`: Virtual host to respond from. Recommended if you use your own subdomain.
### Example
`WEBHOOK_URI='https://canary.discordapp.com/api/webhooks/whatever' GITHUB_SECRET='whatever' VHOST='whatever.wherever.com' PORT=6666 npm run start`
```
npm update
WEBHOOK_PORT=80 WEBHOOK_URI='https://canary.discordapp.com/api/webhooks/whatever' GITHUB_SECRET='whatever' VHOST='whatever.wherever.com' npm run start
```