Requires Go version 1.20.x (1.20.11 or higher) - download for your development environment here.
This repository uses Go modules.
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 make development on the static content easier, use the ./scripts/deploy-dev.sh
shell script with the following commands:
$ ./scripts/deploy-dev.sh setup
to setup the access to the Container Registry running within the OpenShift cluster accessed via $KUBECONFIG
and scale down the deployment to 1 replicas
$ ./scripts/deploy-dev.sh setup
to build the binary, package into an Image, push it to the Container Registry and update the deployment.