From 6cef421a34be55d38bb4d108d84070e1318d322b Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Thu, 2 Dec 2021 12:56:57 +0100 Subject: [PATCH] README.md: Add more documentation for compiling and packaging --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index b2ed9cf..0ad34b9 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,24 @@ This program implements EOSIO healthcheck for HAProxy over TCP. You will need go-lang version `1.14` or later to compile the source. +First you need to install golang dependacies: + +```sh +$ make deps +``` + +Then you can compile with `compile.sh` script + +```sh +$ ./compile.sh +``` + +Execute `./compile.sh --help` to see all available flags to crosscompile for different systems/architectures. + +### Package + +run `./package.sh` to generate package. Debian (.deb) and FreeBSD are supported. + ## TCP Protocol The protocol is simple and has 4 rules.