How to migrate a Node.js App from Heroku to OpenShift

Given the recent price/tier changes of Heroku I wanted to understand what alternatives do we have, as developers, to host a Node.js application free of charge.

Let me be clear upfront… there are not so many alternatives right now, and I can’t praise Heroku enough for putting out a free plan like the one in the past.
The new Heroku freeplan will limit the overall hours your app can stay on, therefore making it not very feasible for apps that need to be always on (although not very task-consuming).

So I decided to settle on OpenShift, and see how it would go.
To do the test I tried porting Haptime.in in OpenShift.

Let me show you what I discovered. Continue reading How to migrate a Node.js App from Heroku to OpenShift