How to set-up the local development environment
Prerequisites
The development currently supports WSL2 and UNIX based environment.
It requires the following packages:
- go version v1.24.13+
- kind version v0.30.0+
- docker version v17.03+
- helm version 3.19+
- make version 4.3+
- kubectl version v0.30.0+
Installation
-
Login your docker client:
-
To install the kind docker cluster, run:
-
In a separate terminal, setup the port forward:
Redo this command whenever you end it to help developing.
-
Set up the following environment variables (this can be automated using direnv)
It might take a little while for the volume to show up, so redo the final export or change the directory back and forth to reapply the direnv.
-
Run the chantico controllers locally:
Running a demo
After setting up the local development environment, you are ready to run the demo in How to run the mock snmp device.
Teardown
To teardown a local installation of the kind cluster, run the script: