Flux, reimagined.
If you have a working Go toolchain, you can install the most recent version of the binaries via
$ go get github.com/weaveworks/fluxy/cmd/fluxd
$ go get github.com/weaveworks/fluxy/cmd/fluxctl
Otherwise, see the releases page for downloads.
Ensure the repository is checked out into $GOPATH/src/github.com/weaveworks/fluxy. Then, from the root,
$ go install ./...
Flux vendors all of its dependencies, so that should be sufficient. Binaries are installed to $GOPATH/bin.
$ go test ./...
We use Glide to manage vendored dependencies. Note that we do not check in the vendor folder. If you add or remove dependencies, use the following command to update the glide.yaml and glide.lock files, and to populate your local vendor folder.
$ glide update
Flux follows a typical PR workflow. All contributions should be made as PRs that satisfy the guidelines below.
- All code must abide Go Code Review Comments
- Names should abide What's in a name
- Code must build on both Linux and Darwin, via plain
go build
- Code should have appropriate test coverage, invoked via plain
go test
In addition, several mechanical checks are enforced. See the lint script for details.