mirror of
https://github.com/prometheus/prometheus.git
synced 2024-09-22 08:47:33 -07:00
Merge pull request #8587 from knrybarczyk/doc/fix-install-from-source-in-readme
Fix the installation from source instruction in README
This commit is contained in:
commit
fcfc0e8888
|
@ -63,7 +63,7 @@ installed in order to build the frontend assets.
|
||||||
You can directly use the `go` tool to download and install the `prometheus`
|
You can directly use the `go` tool to download and install the `prometheus`
|
||||||
and `promtool` binaries into your `GOPATH`:
|
and `promtool` binaries into your `GOPATH`:
|
||||||
|
|
||||||
$ go get github.com/prometheus/prometheus/cmd/...
|
$ GO111MODULE=on go get github.com/prometheus/prometheus/cmd/...
|
||||||
$ prometheus --config.file=your_config.yml
|
$ prometheus --config.file=your_config.yml
|
||||||
|
|
||||||
*However*, when using `go get` to build Prometheus, Prometheus will expect to be able to
|
*However*, when using `go get` to build Prometheus, Prometheus will expect to be able to
|
||||||
|
|
Loading…
Reference in a new issue