Add go path help to build instructions (#601)
Add `go get` and source directory requirements to the build instructions.
This commit is contained in:
parent
2e9f1913b8
commit
f3a4afc059
1 changed files with 2 additions and 0 deletions
|
|
@ -105,6 +105,8 @@ mv /path/to/directory/role.prom.$$ /path/to/directory/role.prom
|
|||
|
||||
## Building and running
|
||||
|
||||
go get github.com/prometheus/node_exporter
|
||||
cd ${GOPATH-$HOME/go}/src/github.com/prometheus/node_exporter
|
||||
make
|
||||
./node_exporter <flags>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue