Guide for local development

Hi, I would like to know is there a guide to run local Drone source code in Go IDE and do development with debugging. I searched Github issue and here but found no clue.

I found an PR https://github.com/drone/drone/pull/205/files but it seems quite old and the content is removed now.

I finally figured out there is no special step needed to setup it. Clone the project and run go get.

Could you share more details? It doesn’t seem that easy for me.

  1. go get github.com/drone/drone
  2. go to $GOPATH/src/github.com/drone/drone /drone (The dir which contains main.go)
  3. go get & go build

Then you’ll get a executable drone file.

Open $GOPATH/src/github.com/drone/drone in your Go IDE to start developing and debugging.