I fought with heroku yesterday a bunch because I’m a moron. First I couldn’t get the database to talk to it.
Mostly because I didnt put in the environment variable.
var MONGODB_URI = process.env.MONGODB_URI || "mongodb://localhost/scraper";
then i couldnt get my app to start. Because I didnt RTFM …..
var PORT = process.env.PORT || 3000;
So once i actually read the instructions and stop sucking, i got my app to start.
I usually don’t use heroku because I have a linode server, but it never hurts to be able to do cloud stuff, especially if its fast as hell and free.