Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 1.1 KB

development.md

File metadata and controls

34 lines (24 loc) · 1.1 KB

You can also get the code and compile it yourself. If you have go installed you can run the following.

go get github.com/ksync/ksync
cd ${GOPATH}/src/github.com/ksync/ksync
go install ./cmd/*

Note: If you compile the binaries yourself the output of ksync version may not be correct. Only the binaries on the releases page are stamped with this information.

The makefile has some convenient helpers:

  • watch - Watches the directory for changes, rebuilds the binary and starts ksync watch. This requires ag and entr.
  • docker-binary docker-build docker-push - Build and refresh the cluster docker pieces.
  • lint - Run the linter.
  • radar-logs - Streams the logs from the cluster locally to help with debugging. Requires stern.

Dependencies

brew install protobuf
go get -u github.com/golang/protobuf/protoc-gen-go