finished binary readme section
This commit is contained in:
parent
f9742fabec
commit
744db9c3c4
1 changed files with 18 additions and 1 deletions
19
README.md
19
README.md
|
@ -32,7 +32,24 @@ An [XPath](#xpath) filter could also have been used.
|
|||
|
||||
## Binary
|
||||
|
||||
Download
|
||||
Download the binary for your platform from the [releases page](https://github.com/broodjeaap/go-watch/releases), for example for Linux:
|
||||
`wget https://github.com/broodjeaap/go-watch/releases/download/1.0/go-watch-1.0-linux-amd64 -O ./gowatch`
|
||||
|
||||
And make it executable:
|
||||
`chmod +x ./gowatch`
|
||||
|
||||
Download the config template:
|
||||
`wget https://raw.githubusercontent.com/broodjeaap/go-watch/master/config.tmpl -O ./config.yaml`
|
||||
|
||||
Or use the binary to generate it:
|
||||
```
|
||||
./gowatch -printConfig 2> config.yaml
|
||||
# or
|
||||
./gowatch -writeConfig config.yaml
|
||||
```
|
||||
|
||||
And modify it to fit your needs, then simply run:
|
||||
`./gowatch`
|
||||
|
||||
## Docker
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue