deploy django app on heroku code example
Example 1: deploy to heroku
$ git add .
$ git commit -m "Added a Procfile."
$ heroku login
Enter your Heroku credentials.
...
$ heroku create <app-name>
Creating arcane-lowlands-8408... done, stack is cedar
$ git push heroku master
-----> Node.js app detected
...
-----> Launching... done
http://arcane-lowlands-8408.herokuapp.com deployed to Heroku
Example 2: 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.