Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
qorus
prometheus
Commits
41a72179
Commit
41a72179
authored
Oct 15, 2015
by
Julius Volz
Browse files
Fix and improve build-from-source instructions.
Fixes
https://github.com/prometheus/prometheus/issues/1165
parent
5a0ce511
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
41a72179
...
...
@@ -44,9 +44,11 @@ To build Prometheus from the source code yourself you need to have a working
Go environment with
[
version 1.5 or greater installed
](
http://golang.org/doc/install
)
.
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`
. We use Go 1.5's experimental
vendoring feature, so you will also need to set the
`GO15VENDOREXPERIMENT=1`
environment variable in this case:
$ go get github.com/prometheus/prometheus/...
$
GO15VENDOREXPERIMENT=1
go get github.com/prometheus/prometheus/
cmd/
...
$ prometheus -config.file=your_config.yml
You can also clone the repository yourself and build using
`make`
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment