Skip to content

Commit

Permalink
doc: update build instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
mroyme authored Aug 14, 2024
1 parent bbfb349 commit 7a8d3ca
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,19 @@ This can be helpful for _debugging_ metrics themselves, and to prevent polluting
### Install with Go

```
go install github.com/mroyme/dogstatsd-local/cmd/dogstatsd-local@latest
$ go install github.com/mroyme/dogstatsd-local/cmd/dogstatsd-local@latest
```

### Build Manually

This is a go application with no external dependencies. Building should be as simple as running `go build` in the source directory.
Run the following command in the source directory.
```bash
$ go build -o bin/dogstatsd-local ./cmd/dogstatsd-local/main.go
```

Once compiled, the `dogstatsd-local` binary can be run directly:
```bash
$ ./dogstatsd-local -port=8126
$ ./bin/dogstatsd-local -port=8126
```

### Prebuilt Binaries
Expand Down

0 comments on commit 7a8d3ca

Please sign in to comment.