GithubHelp home page GithubHelp logo

luangarcia / nodered-heroku Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sevenmojoe/nodered-heroku

0.0 0.0 0.0 192 KB

Just aNO(t)DEr nodered for heroku

License: Apache License 2.0

JavaScript 23.14% HTML 40.88% CSS 35.98%

nodered-heroku's Introduction

nodered-heroku

A wrapper for deploying Node-RED into the Heroku.

Warning: You will lost all saved flows every time heroku restart!

  • SOLUTION: To overcome this, on Editor, after finish with your design and deployed, you need to Export 'all flows' as "flows.json" file, and push your "flows.json" to your github, linked to your heroku. Detail on step 4 and 5.

1. Deploying Node-RED into Heroku Deploy

2. Set Username and Password for your Flow Editor

  • NODE_RED_a_USERNAME - replace this with Username for Flow Editor
  • NODE_RED_b_PASSWORD - replace this with Password for Flow Editor

3. Access your Node-Red

4. Export all flows as "flows.json" file AFTER you create your flow and deploy it

  • In Editor, click hamburger icon (top right), click Export, choose tab "all flows", then Download.

5. Fork this repo, Set your github as deploy source on Heroku setting, and enable Automatic Deployment

  • Push downloaded "flows.json" file to your repo on github.
  • Every time "flows.json" pushed to your repo, Heroku will rebuild node-red with updated "flows.json".
  • So your node-red will always have latest pushed "flows.json" when Heroku dynos restarted.

*Some included nodes

  • Dashboard UI - node-red-dashboard
  • MQTT - node-red-contrib-aedes
  • Blynk Cloud - node-red-contrib-blynk-ws
  • Email - node-red-node-email
  • Telegram - node-red-contrib-telegrambot

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.