govendor: update build instructions and fix #18

This commit is contained in:
Martin Lindhe
2016-09-01 21:10:02 +02:00
parent eebbe0015c
commit 29beaa6c3b
27 changed files with 2520 additions and 4 deletions

View File

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