Configuration UI for ThingsBoard Rule Nodes
-
Cleanup
yarn run cleanup
-
Get ThingsBoard UI dependency
yarn run getthingsboard
-
Install dependencies
yarn install
-
Production build
yarn run build
Resulting JavaScript should be here:
./target/generated-resources/public/static/rulenode-core-config.js
-
Deploy Rule Nodes UI JavaScript code to ThingsBoard
Resulting rulenode-core-config.js should be copied to
rule-engine/rule-engine-components/src/main/resources/public/static/rulenode/
directory of ThingsBoard repository. -
Run Rule Nodes UI in hot redeploy mode
yarn start
By default, Rule Nodes UI will be available on port 5000 (http://localhost:5000)