Giter Club home page Giter Club logo

dashboard-app's Introduction

Dashboard App using Node RED

Dashboard app using node red as service engine and webasset to be used with NGINX

##Setup Steps

Install Node JS (recomended version 4+) https://nodejs.org/en/

Setup Node-Red

  • Take checkout
  • Set GIT url config for windows git config --global url."[email protected]:".insteadOf "git://github.com/"
  • Execute install
    • npm install
    • This should install node-red and required packages
    • Open settings.js file at path node node_modules\node-red
    • Find httpStatic and uncomment the line
    • Put the value for httpStatic as webcontent
      • httpStatic: 'webcontent',
  • To start node-red execute npm start
  • Open the application at http://localhost
Import sample flow
  • After opening node-red application goto Top right corner and click on three lines
  • Click import --> Clipboard
  • A popup with Import nodes will open.
  • Open and copy the content of sample_flow.json in sample folder and paste in the popup.
  • Deploy the flow using deploy button
  • Now open http://localhost/dashboard/test

Working with Node Red

  • All the flows will be created on http://localhost
  • Commiting Flows * Once the flow is created on local. Select all the nodes and goto Top right corner and click on three lines * Click export --> Clipboard * A popup with Export nodes to clipboard will open. * Copy the content and save it as Json file inside flow_templates folder.
  • Commiting static assets * All static assets to be saved in webcontent folder. * In the application the path to this folder is root and a file inside assets can be refered as /assets/sample.html

dashboard-app's People

Contributors

sapient-support avatar aamol avatar hsinha14 avatar vkum29 avatar

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.