Skip to content

Building Manually

Jacob McSwain edited this page Feb 2, 2023 · 1 revision

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.

  1. Build the frontend:
    • cd internal/http/frontend && npm ci && npm run build
  2. Install a build-time Go dependency:
    • go install github.com/tinylib/msgp
  3. Generate Go code:
    • go generate ./...
  4. Build it:
    • go build -o bin/DMRHub
Clone this wiki locally