-
Notifications
You must be signed in to change notification settings - Fork 2
Building Manually
Jacob McSwain edited this page Feb 2, 2023
·
1 revision
DMRHub can be built by either using the Makefile, or manually.
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
.
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