Skip to content

Heroku Deployment

Kevin Chien edited this page May 13, 2019 · 3 revisions

Heroku deployment steps

getting the heroku repo:

  • run: heroku git:clone -a multi-meet
  • this clones into a new directory (separate from your existing MultiMeet directory)
  • so use this new directory for pushing to heroku

pushing new changes

  • if don’t have ref to origin: run git remote add origin https://github.com/Aakup/MultiMeet
  • run git pull origin master, then git push heroku master
  • remember to run heroku rake db:migrate
  • safest option: reset database heroku pg:reset DATABASE (drops database), then run heroku rake db:reset

issues and fixes for deploying on heroku

issue:

  • git push heroku master -> unpushed refs solution:
  • do: git pull heroku master, resolve merge conflict
  • OR force push

issue:

  • column missing solution:
  • heroku pg:reset DATABASE (does db:drop for you)
  • heroku db:migrate

issue:

Clone this wiki locally