Build from source
If you want to customize the SCR code, implement your own features and test how they work, you can build a service image from the source code.
Prior to building the project, make sure you have the required dependencies installed:
To build the SCR service image:
Clone the repository.
git clone [email protected]/kaaiot/SCR.git
Build the project with Maven by running this command from the project root.
mvn clean install
To skip tests, run:
mvn clean install -DskipTests
Build the Docker image by running the next command from the project root.
docker build -t hub.kaaiot.io/kaaiot/scr/scr:latest -f containers/docker/scr/Dockerfile --build-arg setupfile=service/target/scr-service-1.0.0-SNAPSHOT.jar .
After you have built the image, you can deploy SCR. See Deployment.