Requires Go version 1.16 - download for your development environment here.
This repository uses Go modules. You may need to export GO111MODULE=on
to turn modules support "on".
To build, execute:
make build
This builds the executable with bundled assets. Only the binary needs to be deployed, all static assets are bundled with the binary.
To just generate the asset bundle, execute:
make generate
This creates the asset bundle in the static
package. Do not change the asset bundle file(s), changes will be lost on the next build.
To make development on the static content easier, a development binary can be built using:
make build-dev
The resulting binare does not use bundled assets but reads static content directly from pkg/assets
. Do not deploy the dev binary.