heroku login
cd project_root
heroku create
pip install
pipenv install
import django_heroku
django_heroku.settings(locals())
web: gunicorn application_name.wsgi --log-file -
heroku config:set DISABLE_COLLECTSTATIC=1
python manage.py collectstatic
git push heroku master
git push heroku some-branch-name:master
- (if you did migrations before you pushed you repo)
heroku run python manage.py migrate
- (if you did not do migrations before you pushed you repo)
heroku run python manage.py makemigrations
heroku run python manage.py migrate
- Mevlana - Initial work - mevlanaayas
- I hope it works well for you. I ll be happy for any kinds of suggestions