Permalink
Browse files

Update master

  • Loading branch information...
1 parent b521f8a commit 3399cead4486930a55f48be3d1510f3a4a98955f @dzello dzello committed Jun 30, 2012
Showing with 10 additions and 9 deletions.
  1. +10 −9 README.md
View
@@ -2,44 +2,45 @@
A boilerplate for deploying Square's Cube time-series visualizer to Heroku.
### Instructions
-* Clone this repository
+
+Clone this repository
git clone https://github.com/partyio/heroku-cube.git
-* cd into the directory and install dependencies
+cd into the directory and install dependencies
npm install
-* Create two Heroku apps - one for the evaluator and one for the collector. (make sure to substitute the names in these examples!)
+Create two Heroku apps - one for the evaluator and one for the collector. (make sure to substitute the names in these examples!)
heroku create my-collector-app
heroku create my-evaluator-app
-* Set up your git remotes to the Heroku apps, again one for the evaluator and one for the collector.
+Set up your git remotes to the Heroku apps, again one for the evaluator and one for the collector.
git remote add my-collector-app git@heroku.com/my-collector-app.git
git remote add my-evaluator-app git@heroku.com/my-evaluator-app.git
-* Add configuration variable so the apps know which is which.
+Add configuration variable so the apps know which is which.
heroku config:add COLLECTOR_APP=1 -a my-collector-app
heroku config:add EVALUATOR_APP=1 -a my-evaluator-app
-* Add the Mongolab add-on to your evaluator application.
+Add the Mongolab add-on to your evaluator application.
heroku addons:add mongolab:starter -a my-evaluator-app
-* Copy the MONGOLAB_URI config variable from the evaluator app to the config
+Copy the MONGOLAB_URI config variable from the evaluator app to the config
heroku config -a my-evaluator-app | grep MONGOLAB_URI #read the config
heroku config:add MONGOLAB_URI=mongodb://herokuapp123:password@host.mongolab.com:12345/herokuapp123 -a my-collector-app
-* Deploy both apps
+Deploy both apps
git push my-collector-app master
git push my-evaluator-app master
-* Visit the evaluator app
+Visit the evaluator app
heroku open -a my-evaluator-app

0 comments on commit 3399cea

Please sign in to comment.