Setup Environment
Gotify requires:
- Go 1.18 or newer
- Node 16.x or newer
- Yarn 1.9 or newer
Clone sources
Clone gotify server source from git:
$ git clone https://github.com/gotify/server.git && cd server
Setup Backend
If you are in GOPATH, enable go modules explicitly:
$ export GO111MODULE=on
Download dependencies
$ make download-tools
$ go get -d
Setup UI
Commands must be executed inside the ui directory.
Download dependencies with yarn.
$ yarn