A free way for us to setup free version of uptime service.

Clone the uptime repository

git clone https://github.com/fzaninotto/uptime.git

Get into the directory

cd uptime

Login using heroku command line

heroku login

Run this command to create the Procfile:

echo "web: node app.js" > Procfile

Commit your changes

git add .
git commit -m 'Added Procfile'

Create your heroku app

heroku create yourappname

Add MongoDB to your app

heroku addons:add mongolab

Get your MongoDB connection info

heroku config
  === uptimee Config Vars
  MONGOLAB_URI: mongodb://username:password@host:port/dbname
  PATH:         bin:node_modules/.bin:/usr/local/bin:/usr/bin:/bin

Use the info you just got and update config/default.yml:

mongodb:
  server:   host:port
  database: dbname
  user:     username
  password: password

I’ve also updated other settings

monitor:
  apiUrl: 'http://localhost/api' # must be accessible without a proxy
  # apiUrl: 'http://localhost:8021/api' # must be accessible without a proxy

server:
  port: 80
  # port: 8021

email:
  dashboardUrl: 'http://localhost'
  # dashboardUrl: 'http://localhost:8021'

Commit your changes

git add .
git commit -m 'Updated the configurations'

Push your files

git push heroku master

Make sure there’s one dyno running for the web:

heroku ps:scale web=1

You can verify it’s running using

heroku ps
=== web (1X): `node app.js`
web.1: up 2013/06/28 19:03:30 (~ 3m ago)

Open your app

git push heroku master

That’s it, good luck! :)