Building Manually - USA-RedDragon/DMRHub GitHub Wiki
DMRHub can be built by either using the Makefile, or manually.
With Make
Having NodeJS and Go installed is sufficient to build DMRHub from source. Make sure your $GOPATH/bin
is in your $PATH
or go generate
will error.
Run make build
and the binary will be output to bin/DMRHub
.
Manually
The manual build process is fairly simple.
- Build the frontend:
cd internal/http/frontend && npm ci && npm run build
- Install a build-time Go dependency:
go install github.com/tinylib/msgp
- Generate Go code:
go generate ./...
- Build it:
go build -o bin/DMRHub