From 1f44ccadba8c1af63c8271ca7e78661a7ef1bea7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferdinand=20M=C3=BCtsch?= Date: Sun, 24 Jan 2021 09:54:54 +0100 Subject: [PATCH] docs: update readme with new build instructions --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 26583bb..d1df212 100644 --- a/README.md +++ b/README.md @@ -43,9 +43,9 @@ To use the hosted version set `api_url = https://wakapi.dev/api/heartbeat`. Howe ## ⌨️ Server Setup ### Run from source -1. Clone the project 1. Copy `config.default.yml` to `config.yml` and adapt it to your needs -1. Build executable: `GO111MODULE=on go build` +1. Install packaging tool: `GO111MODULE=on go get github.com/markbates/pkger/cmd/pkger` +1. Build executable: `GO111MODULE=on go generate && go build -o wakapi` 1. Run server: `./wakapi` **As an alternative** to building from source you can also grab a pre-built [release](https://github.com/muety/wakapi/releases). Steps 2, 3 and 5 apply analogously.