From ea067f23a8a4126047d8f79589c574254e5b0caf Mon Sep 17 00:00:00 2001 From: Nicolas MASSE Date: Tue, 7 Dec 2021 16:46:47 +0100 Subject: [PATCH] add instructions to build from sources --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 57adb16..f9c2270 100644 --- a/README.md +++ b/README.md @@ -63,3 +63,16 @@ function kci () { podman run --rm -v $HOME/.kci.yaml:/.kci.yaml:z -v $PWD:/home:z -w /home quay.io/itix/kci:latest "$@" } ``` + +## Building from sources + +To compile the application from sources, you can run the following commands: + +```sh +export GOPATH="$HOME/go" +export GOBIN="$GOPATH/bin" +export PATH="$GOBIN:$PATH" +go install github.com/rakyll/statik +go generate ./... +go build -o kci cli/main.go +```