Compile From Source
Producing a release requires Go 1.11 or newer and Python 3 + pip3 +
docs/requirements.txt for the Sphinx documentation.
A tutorial to install Go is available over at golang.org.
Python and pip3 should probably be installed via your distro’s package manager.
cd to/your/zrepl/checkout python3 -m venv3 source venv3/bin/activate ./lazy.sh devsetup make release # build artifacts are available in ./artifacts/release
The Python venv is used for the documentation build dependencies. If you just want to build the zrepl binary, leave it out and use ./lazy.sh godep instead.
Alternatively, you can use the Docker build process: it is used to produce the official zrepl binary releases and serves as a reference for build dependencies and procedure:
# make sure your user has access to the docker socket
# if you want .deb or .rpm packages, invoke the follwoing
# targets _after_ you invoked release-docker
# build artifacts are available in ./artifacts/release
# packages are available in ./artifacts
It is your job to install the built binary in the zrepl users’s
Otherwise, the examples in the quick-start guides may need to be adjusted.