Skip to content

LondonAppDeveloper/tutorial-django-aws-lightsail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to deploy a Django App to AWS Lightsail

Code resources for the YouTube live stream: How to deploy a Django App to AWS Lightsail.

Steps

Each step is listed below with a link to the code diff.

  1. Setup project and Docker dependencies

Create a new project and setup Docker/Docker Compose configuration.

  1. Create Django project and app

Create a new Django project and app which we'll use later.

  1. Configure database and Django

Configure the local Django database.

  1. Create placeholder page

Create a placeholder page which we can use to test deployment.

  1. Configure for deployment

Configure app for deployment.

  1. Configure Lightsail AWS account

Configure out Lightsail account (authentication, etc...)

  1. Push image to AWS Lightsail

Push our Docker container to AWS Lightsail.

  1. Create Lightsail container deployment

Create a new Lightsail container deployment in the AWS Lightsail Console.

  1. Setup RDS database on Lightsail

Setup a new RDS instance on AWS Lightsail.

  1. Get django admin working

Get Django admin working and configure static files.

  1. Login to Django admin

Login to the Django admin on our deployed app on AWS Lightsail.

  1. Build and publish posting app

Build and deploy our publish app to test media files.

About

Tutorial project code for deploying Django to AWS Lightsail.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published