add install instructions for dev install (#228)

Signed-off-by: Florian Maurer <f.maurer@outlook.de>
This commit is contained in:
Florian Maurer 2023-09-20 11:18:07 +02:00 committed by GitHub
parent 22f67e2d4d
commit 4660f21b61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 0 deletions

View File

@ -25,6 +25,17 @@ As root:
go install github.com/FreifunkBremen/yanic@latest 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 #### Work with other databases
If you like to use another database solution than influxdb, Pull Requests are 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 welcome. Just fork this project and create another subpackage within the folder

View File

@ -25,6 +25,14 @@ As root:
go install github.com/FreifunkBremen/yanic@latest 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 ### Install
```sh ```sh