Skip to content

Heroku Deployment Instructions For admins

Biswas B edited this page Aug 20, 2018 · 4 revisions

Install heroku toolkit (https://devcenter.heroku.com/articles/heroku-cli)

Run: heroku login

run: heroku git:remote -a keralarescue

run: git pull (to sync with master)

run python3 manage.py makemigrations

if makemigrations got created, the pr is messed up, commit migrations and push to master

run python3 manage.py migrate

see if everything is ok with the db

if yes,

run: git push heroku master

run: heroku run python manage.py migrate

Clone this wiki locally