Before you start - use virtualenv for isolated Python environment. This manual cant apply to Django project with static files (JS, CSS, images etc.) 0. You should to register to heroku.com
- Install Heroku CLI: curl https://cli-assets.heroku.com/install-ubuntu.sh | sh or quick install: curl https://cli-assets.heroku.com/install.sh | sh
- Create Django-rest-framework project, init git repository.
- $ heroku login
- $ heroku create [preferred_name_of_application]
- Create file runtime.txt (on same level that Django project directory and application directory) with content: