Development

For newcomers to Go, you can’t just git clone your forked repo and work from there, due to how Go’s GOPATH works. You can follow the steps below to get started:

  1. Fork this repository to your own account (named myfork below)
  2. Make sure you have Consul and Vault installed in your $PATH
  3. go get github.com/fabiolb/fabio, change to the directory where the code was cloned ($GOPATH/src/github.com/fabiolb/fabio) and add your fork as remote: git remote add myfork git@github.com:myfork/fabio.git
  4. Hack away!
  5. go fmt and make test your code
  6. Commit your changes and push to your own fork: git push myfork
  7. Create a pull-request