Content Engine
Use AWS S3 with Django to manage unlimited videos, images, and other files.
References
Helpful Resources
- Django on Docker guide
- Docker & Docker Compose tutorial series:
- Github Actions guide:
- Django & Kubernetes project code
Lessons
Welcome & Demo
16:24
Requirements
2:38
Why we use Django in Containers
2:59
Automate Django as a Container
14:14
Setup Local Django Environment
7:30
Why we use Kubernetes
3:39
Provision Kubernetes Cluster
5:36
Your First Running Container on Kubernetes
5:00
Environment Variables with ConfigMaps
4:57
Env Vars with K8s Secrets
5:56
The Kubernetes Way of Doign SSH
3:14
Multiple Pods & K8s Selectors
4:00
Managing Pods with Deployments
8:32
Serve External Traffic with K8s Services
8:46
Update Django Project and Rollout Changes
7:01
GitHub Actions Workflow for Kubectl
7:40
GitHub Actions as our Secrets Manager
7:29
Setup Twingate Network and Client
5:43
Integrate Twingate with Kubernetes via Connectors
6:58
Your First Twingate Resource
3:41
K8s Service DNS + Twingate
2:17
Postgres DBs via Twingate and Kubernetes
7:41
Loading Env Vars with Python Decouple
8:25
Integrate Postgres + Django
7:55
Verify Postgres with our K8s Deployment
6:01
Django Static Root and Auto Containers
6:23
Implement Whitenoise in Django
4:41
Using Tailwindcss, Flowbite & Django
12:02
The Content Engine Freatures
2:32
Our Project Model
5:47
Override Save to Generate Slug Handle
1:51
Unique Slugify For SlugFields
11:51
Project Activation Views
9:54
Custom Middleware for request_project
4:13
Caching with Middleware for Project Activation
8:35
Items for Projects
6:43
Item Model Form and Create View
9:48
Styling Django Forms the TailwindCSS Way
12:37
Item List and Detail View
7:20
Item Update View
6:10
Item Delete View
4:24
Project CRUD Views
14:02
Cleaning Up Project CRUD
10:57
Flowbite Navbar
9:31
Context Processor to View Projects
8:50
Activate Project Methods
7:23
Dashboard Table View
7:52
Project Required Decorator
13:41
Dynamic QuerySet Loading with HTMX
9:45
HTMX for Rendering Django Forms
6:03
Handling Django Forms with HTMX
2:52
Custom HTMX Trigger Event
6:12
Integrating HTMX with TailwindCSS
6:32
Delete Items with HTMX
6:05
Inline Row Edit with HTMX
7:25
Status Field with Django TextChoices
4:10
Dynamic Status Dropdown Select
6:32
Saving Dynamic List View Changes with HTMX
13:31
Amazon Web Services S3 Bucket and IAM Permission Setup
5:53
Integrating Python with S3 Buckets Using Boto3
15:18
Display S3 Objects via HTMX
11:17
View Bucket Contents via Presigning S3 Objects
9:47
Delete S3 Object with HTMX and Boto3
12:50
Presign File for Uploading to S3 Via Boto3
22:46
XMLHttpRequest for Upload and Progress
16:15
Upload Form in Item Detail View
11:11
Granting Access to Users
2:02
Project User through ManyToMany
8:59
Custom QuerySet for User Access
10:15
Thank you
1:18