Deploying Django App on Heroku

Made an awesome app with Django!!! Excited to show your awesome work to the world. Let’s do it together 😉.

Design By Satyam Srivastava
heroku login
git --version
pip install pipenv
virtualenv .
.\Scripts\activate
virtualenv envsource env/bin/activate
pip freeze
python-3.9.1
pip install gunicorn
web: gunicorn your_app_name.wsgi --log-file -
pip install django-heroku
import django_heroku
django_heroku.settings(locals())
DEBUG=False
pip freeze > requirements.txt
heroku create your_app_name 
git init
git status
git add --all
git commit -m “anything of your choice"
heroku git:remote -a your_app_name
git push heroku master
your_app_name.herokuapp.com\admin
heroku run bashpython manage.py migratepython manage.py createsuperuser

A learner sharing thoughts and experience