Update README.md

This commit is contained in:
Will Rouesnel
2019-07-03 22:36:32 +10:00
parent 7b2dc3f2a4
commit 97554928e6

View File

@@ -26,7 +26,7 @@ The default make file behavior is to build the binary:
``` ```
$ go get github.com/wrouesnel/postgres_exporter $ go get github.com/wrouesnel/postgres_exporter
$ cd ${GOPATH-$HOME/go}/src/github.com/wrouesnel/postgres_exporter $ cd ${GOPATH-$HOME/go}/src/github.com/wrouesnel/postgres_exporter
$ go run mage.go $ go run mage.go binary
$ export DATA_SOURCE_NAME="postgresql://login:password@hostname:port/dbname" $ export DATA_SOURCE_NAME="postgresql://login:password@hostname:port/dbname"
$ ./postgres_exporter <flags> $ ./postgres_exporter <flags>
``` ```