how to deploy django rest api on heroku code example
Example: 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.