Node.js on Heroku and OpenShift

I have recently written quite a few Node.js apps. It's quick and easy to build fairly complex sites and can be hosted on a number of free providers.

My current projects are hosted on either Heroku or OpenShift; I have to say that Heroku is the easiest but OpenShift does have a number of other benefits (that's another post).  My latest app is a viewer for Pivotal Tracker (https://github.com/gpimblott/rubbernecker) to provide simple visualisations and search facilities for my current teams.

As usual I started with a deployment on Heroku....but then decided to move it to OpenShift.  There are simple differences between the two environments that stop apps being portable.  So after a bit of investigation I have created a gist that correctly configures the environment variables to work on either :)


Comments

Popular Posts