Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kevoree/kevoree-js-comp-nodered
A Kevoree component that starts a Node-RED runtime
https://github.com/kevoree/kevoree-js-comp-nodered
Last synced: about 1 month ago
JSON representation
A Kevoree component that starts a Node-RED runtime
- Host: GitHub
- URL: https://github.com/kevoree/kevoree-js-comp-nodered
- Owner: kevoree
- License: lgpl-3.0
- Created: 2015-06-18T15:46:42.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-08-25T12:59:25.000Z (over 9 years ago)
- Last Synced: 2024-04-10T22:30:20.328Z (9 months ago)
- Language: JavaScript
- Size: 168 KB
- Stars: 0
- Watchers: 9
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### NodeRED - kevoree-comp-nodered
This component is able to start a [Node-RED](http://nodered.org/) runtime.
You can communicate with nodes inside your flows using the component input and output ports.#### Overview of the component in the [Kevoree Web Editor](http://editor.kevoree.org)
![TypeDefinition UI](.readme/typedef_ui.png)#### Dictionary attributes
Name | Optional | Type | Usage | Default value
------------- | ------------- | ------------- | ----------------------------------------------------------- | ---------------
flows | true | string | this will be used to set your Node-RED flows (deploy full) | _none_
httpAdminRoot | false | string | the root url for the Node-RED editor UI | "/"
httpNodeRoot | false | string | the root url for nodes that provide HTTP endpoints | "/api"
port | false | number | the port used by the Node-RED editor express server | 9090
userDir | false | string | the directory to store all user data | _none_
nodesDir | true | string | a directory to search for additional installed nodes (nodes must be available in [nodesDir]/nodes/) | _none_#### KevScript example
```
// this is the minimal example possible
add node0: JavascriptNode
add node0.nodeRED: NodeRED
set node0.nodeRED.userDir = '/tmp/nodered'
```