This repository has sub modules, clone it with:
$ git clone --recursive <repository url>
If you've already cloned it, you can get the submodules by doing the following:
$ git submodule update --init --recursive
All the build things are from a submodule. To build, run one of the following:
Windows:
$ Build\build.cmd
Linux / macOS
$ Build\build.sh
This solution is built on top of Azure IoT Edge, and to be able to work locally and run it locally, you will need the development environment - read more about that here. It mentions the use of the iotedgedev tool.
If you are using VSCode or similar text editor, just open up the folder from the root. This solution uses a sub-module (as described above). It comes with a few things that makes development a little bit easier, a set of VSCode tasks as described here.
In addition to this there is a couple of Debug launch settings set up as well to enable debugging directly.
Open up the .sln file at the root of the project.
In your deployment.json
file, you will need to add the module. For more details on modules in IoT Edge, go here.
"modules": {
"Dolittle.TimeSeries.KChief": {
"version": "1.0",
"type": "docker",
"status": "running",
"restartPolicy": "always",
"settings": {
"image": "dolittle/timeseries-kchief",
"createOptions": {
"HostConfig": {}
}
}