Skip to content

thingsboard/rule-node-examples-ui-ngx

Repository files navigation

rule-node-examples-ui-ngx

Configuration UI for Custom Rule Nodes from rule-node-examples ThingsBoard repository

Build steps

  1. Install dependencies

    yarn install 
    
  2. Production build

    yarn run build 
    

    Resulting JavaScript should be here:

    ./target/generated-resources/public/static/custom-nodes-config.js
    
  3. Deploy Rule Nodes UI JavaScript code to to rule-node-examples

    Resulting custom-nodes-config.js should be copied to rule-node-examples/src/main/resources/public/static/rulenode/ directory of rule-node-examples repository.

  4. Run Rule Nodes UI in hot redeploy mode

    yarn start
    

    By default, Rule Nodes UI will be available on port 5000 (http://localhost:5000)