django deploy to heroku code example
Example 1: how to deploy to heroku djangorest framework app
heroku login
You will prompt to provide heroku credentials(Email and password), once you have authenticated you can access both heroku and git commands.
Example 2: studygyaan python everywhere - host on heroku
# prepare a requirements.txt file
pip freeze > requirements.txt