This is an Electron template to embed Node-RED with an existing Node-RED project to create a native application.
 
 
Go to file
Nathanaël Lécaudé 7c33bbefd9 1.0.3 2016-04-20 13:42:16 -04:00
.gitignore modified gitignore 2016-03-10 11:40:59 -05:00
LICENSE.md First commit 2016-03-09 16:49:41 -05:00
README.md Fix lame typos 2016-04-20 13:41:57 -04:00
flows.json Added files 2016-03-09 16:54:20 -05:00
main.js Added hackish delay to ensure the flows have loaded 2016-03-10 11:19:30 -05:00
nodered.icns Added icon 2016-04-20 11:22:30 -04:00
package.json 1.0.3 2016-04-20 13:42:16 -04:00

README.md

electron-node-red

This is an Electron template to embed Node-RED with a UI generated by node-red-contrib-ui.

You can base off this model and update the package.json file to include your own required dependencies.

To Use

To clone and run this repository you'll need Git and Node.js (which comes with npm) installed on your computer. From your command line:

# Clone this repository
git clone https://github.com/natcl/electron-node-red.git
# Go into the repository
cd electron-node-red
# Install dependencies and run the app
npm install && npm start

Packaging your application

If you want to distribute executables of this project, the easiest way is to use electron-packager:

sudo npm install -g electron-packager

# build for OS X 64 bits
electron-packager electron-node-red MyAppName --icon=nodered.icns --platform=darwin --arch=x64

# build for Windows 64 bits
electron-packager electron-node-red MyAppName --icon=nodered.icns --platform=win32 --arch=x64

# build for Linux 64 bits
electron-packager electron-node-red MyAppName --icon=nodered.icns --platform=linux --arch=x64

Learn more about Electron and its API in the documentation.

License CC0 (Public Domain)