Update Makefile with new build requirements

This commit is contained in:
Cameron Sparr
2015-08-18 10:16:59 -06:00
parent 2304d03b40
commit 6fcbb7bdb0
4 changed files with 34 additions and 16 deletions

View File

@@ -44,6 +44,12 @@ brew update
brew install telegraf
```
### From Source:
Telegraf manages dependencies via `godep`, which gets installed via the Makefile.
Assuming you have your GOPATH setup, `make build` should be enough to gather dependencies
and build telegraf.
### How to use it:
* Run `telegraf -sample-config > telegraf.toml` to create an initial configuration