Update README.md

This commit is contained in:
Jeffrey Serio 2021-08-19 19:45:00 -05:00
parent 633ff4a047
commit ecb923d9ec
1 changed files with 15 additions and 1 deletions

View File

@ -14,6 +14,20 @@ export PIHOLE_AUTH="auth token"
```
Install the program:
```bash
go get -v github.com/hyperreal64/go-pihole-stats
go get -v git.envs.net/hyperreal/go-pihole-stats
```
Ensure GOPATH is set and in PATH:
```bash
export GOPATH="${HOME}/go"
export PATH="${PATH}:${GOPATH}"
```
Run the command to get Pihole stats:
```bash
go-pihole-stats
```