1. Install MongoDB
2. Install Gem dependencies: bundle
3. Start the mongodb server: mongod &
4. Start the dl-node node.js vote server
5. Start the rails server: rails s -p 3001
1. heroku addons:add redistogo
2. heroku addons:add mongohq:free
3. heroku config:add NODE_URL=http://furious-earth-8617.herokuapp.com/
4. heroku config:add REDISTOGO_URL
(use dl-node’s process.env.REDISTOGO_URL
→ heroku run node
will start an interactive session)