Created
December 28, 2013 12:56
-
-
Save ReidCarlberg/8159242 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Challenge: deploy node-red to a heroku endpoint. | |
2013/12/27 | |
First challenge -- you have to have red.js listen on process.env.PORT rather than 1880. | |
https://devcenter.heroku.com/articles/getting-started-with-nodejs | |
Second challenge -- web sockets -- node-red uses web sockets, so the server comes up and disconnects right away. | |
When you enable the lab:websockets it doesn't fix it out of the box. | |
https://blog.heroku.com/archives/2013/10/8/websockets-public-beta | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi folks, @bradeew, @aniston,
still trying to get Node-Red running on Heroku.
My DIFF so far:
(I don't think I need the
httpAuth
stuff yet, right?)Is this
PORT
env variable pre-set by Heroku? Or is this a Heroku Config Var I need to manually set? If yes, to what value?Do I need to modify
uiHost
,userDir
ornodesDir
?