README: update build instructions (#106)

This commit is contained in:
Martin Lindhe
2017-08-10 02:14:06 +02:00
committed by GitHub
parent 691b672a1e
commit 80f1cf0546

View File

@@ -52,9 +52,10 @@ See [open issues](https://github.com/martinlindhe/wmi_exporter/issues)
## Usage
go get -u github.com/kardianos/govendor
go get -u github.com/prometheus/promu
go get -u github.com/martinlindhe/wmi_exporter
cd $env:GOPATH/src/github.com/martinlindhe/wmi_exporter
govendor build +local
promu build -v .
.\wmi_exporter.exe
The prometheus metrics will be exposed on [localhost:9182](http://localhost:9182)