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:
Julien Pivotto 2021-03-11 16:35:19 +01:00 committed by GitHub
commit fcfc0e8888
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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`
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
*However*, when using `go get` to build Prometheus, Prometheus will expect to be able to