Add go path help to build instructions (#601)

Add `go get` and source directory requirements to the build
instructions.
This commit is contained in:
Ben Kochie 2017-06-15 09:32:45 +02:00 committed by GitHub
parent 2e9f1913b8
commit f3a4afc059

View File

@ -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>