Giter Club home page Giter Club logo

thingsboard-rule-config-ui's Introduction

thingsboard-rule-config-ui

Configuration UI for ThingsBoard Rule Nodes

Build steps

  1. Cleanup

    npm run cleanup 
    
  2. Get ThingsBoard UI dependency

    npm run getthingsboard 
    
  3. Install dependencies

    npm install 
    
  4. Production build

    npm run build 
    

    Resulting JavaScript and CSS should be here:

    ./target/generated-resources/public/static/rulenode-core-config.js
    ./target/generated-resources/public/static/rulenode-core-config.css
    
  5. Deploy Rule Nodes UI JavaScript code and CSS to ThingsBoard

    Resulting rulenode-core-config.js and rulenode-core-config.css should be copied to rule-engine/rule-engine-components/src/main/resources/public/static/rulenode/ directory of ThingsBoard repository.

thingsboard-rule-config-ui's People

Contributors

ashvayka avatar dmytro-landiak avatar ikulikov avatar kardashov avatar mp-loki avatar mrkartoshka avatar shvaykad avatar volodymyr-babak avatar vvlladd28 avatar yevhenbondarenko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

thingsboard-rule-config-ui's Issues

fatal: Remote branch develop/2.5.2 not found in upstream origin

npm run getthingsboard

> [email protected] getthingsboard /Users/git/thingsboard-rule-config-ui
> git clone --branch develop/2.5.2 [email protected]:thingsboard/thingsboard.git ./target/git-tmp/thingsboard

Cloning into './target/git-tmp/thingsboard'...
fatal: Remote branch develop/2.5.2 not found in upstream origin
npm ERR! code ELIFECYCLE
npm ERR! errno 128
npm ERR! [email protected] getthingsboard: `git clone --branch develop/2.5.2 [email protected]:thingsboard/thingsboard.git ./target/git-tmp/thingsboard`
npm ERR! Exit status 128
npm ERR! 
npm ERR! Failed at the [email protected] getthingsboard script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/.npm/_logs/2020-09-16T02_44_58_179Z-debug.log

"[email protected]" is incompatible with [email protected]

npm install

WARN node unsupported "[email protected]" is incompatible with [email protected][email protected][email protected][email protected][email protected] › got@^5.0.0, expected node@>=0.10.0 <7
✖ Install fail! Error: [thingsboard@file:./target/git-tmp/thingsboard/ui] resolved target /Users/git/thingsboard-rule-config-ui/target/git-tmp/thingsboard/ui error: ENOENT: no such file or directory, lstat '/Users/git/thingsboard-rule-config-ui/target'
Error: [thingsboard@file:./target/git-tmp/thingsboard/ui] resolved target /Users/git/thingsboard-rule-config-ui/target/git-tmp/thingsboard/ui error: ENOENT: no such file or directory, lstat '/Users/git/thingsboard-rule-config-ui/target'
    at module.exports (/usr/local/lib/node_modules/cnpm/node_modules/npminstall/lib/download/local.js:30:11)
    at module.exports.throw (<anonymous>)
    at onRejected (/usr/local/lib/node_modules/cnpm/node_modules/co/index.js:81:24)
npminstall version: 3.27.0
npminstall args: /usr/local/Cellar/node/12.7.0/bin/node /usr/local/lib/node_modules/cnpm/node_modules/npminstall/bin/install.js --fix-bug-versions --china --userconfig=/Users/.cnpmrc --disturl=https://npm.taobao.org/mirrors/node --registry=https://r.npm.taobao.org

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.