codeforamerica / sa-zone

Learn more about your home and neighborhood
sa-zone.herokuapp.com
2 stars 7 forks source link

notes on deploying to heroku #12

Closed tbuckl closed 10 years ago

tbuckl commented 10 years ago
heroku create
heroku config:set BUILDPACK_URL=https://github.com/ddollar/heroku-buildpack-multi.git
heroku addons:add heroku-postgresql:standard-tengu
heroku pg:info
heroku pg:promote NAME_OF_DATABASE
git push heroku master
heroku run rake db:migrate
heroku run bundle exec rake mesa_councils:load
heroku run bundle exec rake legistar_events:load
heroku run bundle exec rake legistar_event_items:load
heroku run bundle exec rake legistar_event_items:load
heroku run bundle exec rake legistar_event_items_districts:load
tbuckl commented 10 years ago

this is for the activerecord-postgis 0.6.5 version

techieshark commented 10 years ago

Note that the last line is city specific.

tbuckl commented 10 years ago

thanks peter