This device is not compatible.


Deploying a Web Application to Heroku Using CLI

Learn how to deploy a Django web application to Heroku using CLI. This project uses the PostgreSQL database, which is also deployed and hosted on Heroku by the Heroku Postgres add-on.

Deploying a Web Application to Heroku Using CLI

You will learn to:

Configure the Django web application for deployment

Use git to upload our Django web application

Deploy the PostgreSQL database to Heroku

Use git for web deployment over Heroku


Cloud Deployment


A basic understanding of Django web applications

A basic understanding of Linux shell commands




Project Description

Heroku is a cloud service provider and is among the first-ever cloud platforms developed. It facilitates the fast and effective building, deploying, and scaling of web applications.

Heroku supports many programming languages, which tallows developers to focus on their code, instead of on the infrastructure of the application. It provides several add-ons, including alerts and notifications, data stores, metrics and analytics, network services, and security.

In this project, we’ll deploy an open-source Django web application to Heroku, using Heroku CLI. The web application will use the PostgreSQL database. We will also deploy the local database to Heroku, using the Heroku Postgres add-on.

Project Tasks


Configure the Project

Task 0: Initial Setup

Task 1: Create the Necessary Files

Task 2: Update


Deploy the Project

Task 3: Set Up the Git

Task 4: Create a Heroku Application

Task 5: Set Up the Database