mirror of
https://github.com/muety/wakapi.git
synced 2023-08-10 21:12:56 +03:00
docs: instructions for go install [ci skip]
This commit is contained in:
parent
099cdaddbc
commit
2173954b84
13
README.md
13
README.md
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user