Experimental repository to exchange examples which use the upcoming tedge-flows feature.
You can build the flows locally with the following steps which requires nodejs >= 20.
-
Install the dependencies (using
npm ciinstead ofnpm installto install the exact versions defined in the package-lock.json file)npm ci
-
Build all the flows
npm run build-all
Each bundled flow is stored under the dist/main.mjs of its flows directory. For example, for the uptime flow, the bundled file can be found under:
ls -l flows/uptime/dist/main.mjsYou can create a new flow (from a template) using the following command:
npm run generate-flow myflow1