Skip to content

Latest commit

 

History

History
10 lines (9 loc) · 468 Bytes

README.md

File metadata and controls

10 lines (9 loc) · 468 Bytes

golang-webhook

To run webhook server:-

  1. RUN 'git pull origin master' for production server.
  2. Export GOPATH=/root/golang-webhook/
  3. RUN 'go build' from 'golang-webhook/src/github.com/bajratech/webhook' path.
  4. RUN 'go install' from 'golang-webhook/src/github.com/bajratech/webhook' path.
  5. Replace 'bin/start.sh' file with 'golang-webhook/src/github.com/bajratech/webhook/start.sh'
  6. Kill './webhook' server if it is running.
  7. RUN './webhook >> log.txt &'