Skip to content

Getting set up on Heroku

mjumbewu edited this page May 11, 2012 · 4 revisions

This all assumes you have the Heroku command-line client installed. Refer to the documentation for more information.

Clone the repository

$ git clone git://github.com/openplans/streetscore.git
$ cd streetscore

Create a new Heroku application

$ heroku apps:create <appname> --stack cedar
$ heroku addons:add shared-database:5mb

Initialize the application

$ git push heroku master
$ heroku run "street_score/manage.py syncdb --all"

Alternativey, if you have a city-specific branch to use, push that up instead. For example:

$ git checkout -t remotes/origin/denver
$ git push heroku denver:master
$ heroku run "street_score/manage.py syncdb --all"

Take note of the URL that Heroku provides. Using this URL, follow the directions for Configuring the Application .

Clone this wiki locally