From 4660f21b611b05abaf39714fb49cedb17e3a61e4 Mon Sep 17 00:00:00 2001 From: Florian Maurer Date: Wed, 20 Sep 2023 11:18:07 +0200 Subject: [PATCH] add install instructions for dev install (#228) Signed-off-by: Florian Maurer --- INSTALL.md | 11 +++++++++++ docs/docs/install.md | 8 ++++++++ 2 files changed, 19 insertions(+) diff --git a/INSTALL.md b/INSTALL.md index 8dcf16d..f2dd216 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -25,6 +25,17 @@ As root: go install github.com/FreifunkBremen/yanic@latest ``` +or to install a different checkout for example for development run: + +```sh +git clone https://github.com/FreifunkBremen/yanic +cd yanic +go install . +``` + +Now you can use the binary in `~/go/bin/yanic`. +If you specified `export GOPATH=/opt/go` the binary is located at `/opt/go/bin/yanic`. + #### Work with other databases If you like to use another database solution than influxdb, Pull Requests are welcome. Just fork this project and create another subpackage within the folder diff --git a/docs/docs/install.md b/docs/docs/install.md index 0b2f580..5d39aa7 100644 --- a/docs/docs/install.md +++ b/docs/docs/install.md @@ -25,6 +25,14 @@ As root: go install github.com/FreifunkBremen/yanic@latest ``` +or to install a different checkout for example for development run: + +```sh +git clone https://github.com/FreifunkBremen/yanic +cd yanic +go install . +``` + ### Install ```sh