| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
The idea of the repo is to apply a single patch on top of the latest version of Node-RED source code, then add some config vars and deploy it to Heroku.
Steps are:
git clone https://github.com/mastrolinux/node-red-iot.git
git clone https://github.com/node-red/node-red node-red-patched
cd node-red-patched
git checkout 1.1.0
git checkout -b iot-patch
git am < ../node-red-iot/*.patch
Install Node-RED
npm install npm run build
Create a password with Node-RED Admin
./node_modules/node-red-admin/node-red-admin.js hash-pw
NODERED_PASSWORD_HASH='yourpassword-hash-from-the-node-red-admin-output'
NODERED_USERNAME='admin'
NODERED_CREDENTIAL_SECRET='averylongsecretofyourchoice'
export $(cat .env | xargs)
npm start
heroku login
heroku create
cat .env | xargs heroku config:set
git push heroku iot-patch:master
| Back | FazBrowse Home | New Git URL |