Skip to content

Creates a Demo Application Deployable to Azure using Azure Container Apps

License

Notifications You must be signed in to change notification settings

abhishektyagi9/azure-django-postgres-aca

 
 

Repository files navigation

Deploy a Django Application via Azure Container Apps

This project will walkthrough the steps to deploy a Django application to Azure Container Apps. The Django application is a simple web application for a space travel agency. The application is built using the Django web framework and uses a PostgreSQL database. The application can be deployed to Azure using Azure Developer CLI. With the command azd up.

Visualization of Application

Prerequisites

You'll need a GitHub account. If you don't have a GitHub account, create a free account

If you're using VS Code we recommend that you develop in a dev container. This will ensure that you have all the tools you need to build and run the application. You will need docker installed and running. To learn more about dev containers, see Developing inside a Container.

Deploy to Azure

You can deploy your application from your cloned repo using Azure Developer CLI.

  1. Open a terminal, create a new empty folder, and change into it.
  2. Initialize your project using the following command:

azd init --template azure-django-postgres-aca

This command will clone the code to your current folder and prompt you for the following information:

  • Environment Name: This will be used as a prefix for the resource group that will be created to hold all Azure resources. This name should be unique within your Azure subscription.
  1. Provision and deploy your project with the following command azd up

This command will prompt you for the following information:

Azure Location: The Azure location where your resources will be deployed. Azure Subscription: The Azure Subscription where your resources will be deployed.

Resources

Check out the resources to Learn more about:

About

Creates a Demo Application Deployable to Azure using Azure Container Apps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 53.6%
  • Bicep 31.7%
  • Python 7.3%
  • SCSS 5.4%
  • HTML 1.8%
  • Dockerfile 0.1%
  • Shell 0.1%