Skip to content

Commit 169a4c2

Browse files
committed
Updated local install docs
1 parent 8c6fd0a commit 169a4c2

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,14 @@
33
A nice journalctl aggregation logger using CHARM's Log
44

55
![GO](https://github.com/lundjrl/glog/actions/workflows/go.yml/badge.svg)
6+
7+
## How to build
8+
9+
1. Make sure you have Go installed
10+
2. Run Go build
11+
3. Run `go list -f '{{.Target}}'`
12+
4. Copy that path (minus /glog) to your GOBIN variable with `go env -w GOBIN=/path/to/your/bin`
13+
5. Run `go install`
14+
6. Run `glog`, enjoy
15+
16+
If stuck, follow the details [here](https://go.dev/doc/tutorial/compile-install)

0 commit comments

Comments
 (0)