docs: instructions for go install [ci skip]

This commit is contained in:
Ferdinand Mütsch 2022-06-29 23:39:35 +02:00
parent 099cdaddbc
commit 2173954b84
1 changed files with 7 additions and 6 deletions

View File

@ -100,15 +100,16 @@ If you want to run Wakapi on **Kubernetes**, there is [wakapi-helm-chart](https:
#### Compile & run #### Compile & run
```bash ```bash
# Build the executable # Build and install
$ go build -o wakapi # Alternatively: go build -o wakapi
$ go install github.com/muety/wakapi@latest
# Adapt config to your needs # Get default config and customize
$ cp config.default.yml config.yml $ curl -o wakapi.yml https://raw.githubusercontent.com/muety/wakapi/master/config.default.yml
$ vi config.yml $ vi wakapi.yml
# Run it # Run it
$ ./wakapi $ ./wakapi -config wakapi.yml
``` ```
**Note:** Check the comments in `config.yml` for best practices regarding security configuration and more. **Note:** Check the comments in `config.yml` for best practices regarding security configuration and more.