Coder Social home page Coder Social logo

treeviewpackage's Introduction

Tree view node


Table of Contents

What a node is ?


Nodes get created when a flow is deployed, they may send and receive some messages whilst the flow is running and they get deleted when the next flow is deployed.

They consist of a pair of files; a JavaScript file that defines what the node does, and an html file that defines the node’s properties, edit dialog and help text.

When packaged as an npm module, a package.json file is used to pull it all together.

Installation


Installation in local node-red

Go to project root directory and run the following command.

    sudo npm link   

(if node is not install as root user the no need to use sudo before command.)

Go to home directory and move to ".node-red" installtion directory and run the again same command above i.e.

    sudo npm link 

(if node is not install as root user no need to use sudo before command.)

The above both 2 command will create a "symbolic link" between your node-red dashboard code and the actual node project which you were deveolping for node-red. Each time when you make any new changes in you node project code, you just need to restart you node-red server and will get the updated output in node-red dashboard.

Installation on live node-red

To use the node globally in any of you live project you need to publish it on npm globally after that can easily install it inside the node-red via using the following command i.e.

    npm install "node_name" --save

To publish code on npm globally you need to following the following link:-

Publishing to npm

There are lots of guides to publishing a package to the npm repository. A basic overview is available here

Change log


0.0.1
  • Initial release

Copyrights

Copyright 2017 Roger Colburn.

You may not use this file except in compliance with the License.

treeviewpackage's People

Contributors

mss-parveensachdeva avatar

Watchers

 avatar  avatar  avatar

Forkers

shwetasaluja21

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.