Build from Source
To build the applications from source, Go 1.23.x
must be installed on the
host. The installation of Go can be found in the Go documentation. Once
Go is installed and added to the PATH
, a Makefile
is provided in the repository
to build CEEMS components.
First, we need to clone the repository and checkout the latest version:
git clone https://github.com/mahendrapaipuri/ceems.git
cd ceems
git checkout v0.7.2
CEEMS Exporter
Once the CEEMS repository is cloned, building the CEEMS exporter can be done as follows:
make build
This command will build ceems_exporter
and place it in the ./bin
folder in the
current directory.
CEEMS API Server and CEEMS Load Balancer
The CEEMS API server and CEEMS load balancer use SQLite and hence require CGO for building. To build these two components, execute:
CGO_BUILD=1 make build
This will build the ceems_api_server
and ceems_lb
binaries in the ./bin
folder.