• Stars
    star
    207
  • Rank 189,715 (Top 4 %)
  • Language
    HTML
  • License
    MIT License
  • Created over 3 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Docker Mastery with Django is an open-source initiative and tutorial series. Learn from a beginner level how to use Docker, compose and Kubernetes for django projects.

veryacademy

Docker Mastery with Django

Learn how to use Docker, Compose and Kubernetes with Django for better software building and testing.
Docker Mastery with Django is an open-source initiative and tutorial series. Learn from a beginner level how to use Docker, compose and Kubernetes for django projects.

Please join our active, growing community:
Website (Coming Soon) | Twitter | YouTube

Aims of this course

The aims of this course is to:

  • learn Docker, Compose and Kubernetes for managing, deploying and testing Django projects

Course Introduction

The Docker Mastery with Django Tutorial Series is designed for students who wants to learn how to use Docker, Compose and Kubernetes while developing with the Django Framework. This course is a great way to start learning how to dockerize Django and JS applications. We start from a beginners level slowly moving into more advanced topics. I have tried to design this course to be modular so that you could also focus in on particular subjects, tutorials or aspects of Docker/Compose/Kubernetes should you prefer this mode of learning.

On this course you will be taught a wide range of skills, here are a few topics that we will be learning:

  • How to use Docker, Compose and Kubernetes on your machine for better software building and testing.
  • Build and publish your own custom Django images
  • Gain the skills to build Django development environments with your code running in containers.

Tutorials

The tutorials, can be found here on our YouTube channel course playlist.

Prerequisites

  • Local admin access to install Docker and Python for Mac/Windows/Linux.
  • Have a GitHub and Docker Hub account.

Who is this course for

This course tries to cater for many types of learners:

  • new developers,
  • not so new developers,
  • degree students,
  • Everyone else who is looking to learn Docker

Course Content

Part-1 How to Dockerize a Django application
Take your first steps with Docker containers. In this tutorial we are going to Dockerize a Django application as a complete beginner to Docker. We first Create a new Django application then Prepare a Django app for Docker building a Dockerfile. A Dockerfile is a text document that contains all the commands a user could call on the command line to assemble an image. Now we go ahead and Build a Docker image and then finally Start a new Docker container to display Django running in our container.

Link to Tutorial https://youtu.be/W5Ov0H7E_o4
Part-2 Build and start a Django project with Docker Compose & work in a Docker Container
In this Docker compose tutorial we start an application with Docker Compose and run it in a container. I will then show you how to configure a volume to build a mirrored folder from your computer and the container. This way you can develop on your computer but host the application in a container. This is a docker compose tutorial for beginners. Take your first steps with Docker containers.

Link to Tutorial https://youtu.be/aMqs_y6dZw4
Part-3 How to configure PostgreSQL or MySQL database with Python Django
In this Docker compose tutorial we start a Django application with Docker Compose and run it in a container. I will then show you how to configure a volume to build a mirrored folder from your computer and the container. This way you can develop on your computer but host the application in a container. Next up we configure first a PostgreSQL database and attach it to Django then build a bassline configuration for MySQL for a Django application. This is a docker compose tutorial for beginners. Take your first steps with Docker containers.

Link to Tutorial https://youtu.be/q75wgk9jVjA
Part-4 Docker Compose | Django | PostgreSQL | Redis & Celery Baseline Configuration
In this Docker compose tutorial we setup Django with Postgres, Redis and Celery. We conclude the tutorial by building a new image, testing the setup by creating a simple Celery task.

Link to Tutorial https://youtu.be/zGtGliXMrPQ
Part-5 How to Dockerize a React application
This is a docker tutorial for beginners. Take your first steps with Docker containers with React. In this tutorial we are going to Dockerize a React application as a complete beginner to Docker. We first Create a new React application then Prepare a React app for Docker building a Dockerfile. A Dockerfile is a text document that contains all the commands a user could call on the command line to assemble an image. Now we go ahead and Build a Docker image and then finally Start a new Docker container to display React running in our container.

Link to Tutorial https://youtu.be/xtllpDEOw4w
Part-6 Docker | Towards serving React (Nginx) with Django API (gunicorn)
This is a docker compose tutorial we take your first steps creating a deployment setup with React and Django running on a Nginx server, supported with gunicorn for Django. Having already created a basic React and Django application, see the link below for repositories, we first build the docker files needed for both Django and React before then building a docker compose file. This tutorial gives you a better understanding of docker volumes and bind mounts as we look at using both tools. We then build our nginx configuration to serve react from the root directory. Finally we expand the nginx configuration to include a proxy to the Django API.

Link to Tutorial https://youtu.be/e63EBEFJkH0
Part-7 Docker | RabbitMQ | Celery | Quick-Start guide
Welcome to another Docker tutorial. The Windows platform does not support easy setup and configuration of Redis or RabbitMQ. This tutorial takes you through the quick steps of setting up RabbitMQ with Docker for your Django Celery applications. The end result, RabbitMQ is severed from a Docker container and can be used for any of your Django apps locally.

Link to Tutorial https://youtu.be/t2ZoVlqlQyA
Part-8 Docker | PostgreSQL | pgAdmin and Custom Network Configuration
Welcome to another Docker-Compose tutorial. The Windows platform does support PostgreSQL, but it can be much more convenient to install Postgres and manage PostgreSQL with pgAdmin in containers. In this tutorial we create a docker-compose file to configure Postgres and pgAdmin allowing any other application, in this tutorial Django to connect to it. We go the extra step of configuring the network, assigning static IP addressed to the containers.

Link to Tutorial https://youtu.be/_oqSGs3rrf8

Community Driven Content

I activity try and promote feedback to taylor courses to your needs and wishes. Here is a list of features requested by community. If you would like to request any other feature not listed here - please visit our YouTube channel and make a comment.

Next Planned Tutorials

  • Deploying Docker/Django to Heroku

Contributing

This project welcomes contributions and suggestions. At present, we are not accepting any code contributions. Please visit our YouTube channel to make tutorial suggestions.

Instructor

Zander, the founder of Very Academy has over 20 years of development and educational lecturing experience. He is now focused on developing free technical courses and resources on a range of subjects.

License

MIT License

More Repositories

1

django-ecommerce-project

The Django-Ecommerce is an open-source project initiative and tutorial series built with Python and the Django Framework.
Python
396
star
2

Django-ORM-Mastery-DJ003

Master the Django ORM - Object-Relational Mapper. Learn to use the Django ORM in your Django applications.
Python
116
star
3

django-ecommerce-project-v2

Python
81
star
4

YT_FastAPI_Beginner_Fast-Track

Python
73
star
5

YT-Django-DRF-Simple-Blog-Series-Part-1

HTML
65
star
6

yt-nginx-mastery-series

JavaScript
63
star
7

pytest-mastery-with-django

A Pytest Django Course - Learn how to implement Pytest with Django.
Python
62
star
8

django-learning-pathway

(Currently in development) Learning pathways for learning Django.
51
star
9

YT_FastAPI_Celery_Redis_Flower_Introduction

Python
50
star
10

YT-Django-DRF-Simple-Blog-Series-JWT-Part-3

HTML
44
star
11

YT-Django-Project-Chatroom-Getting-Started

Python
44
star
12

Django-4.x-ORM-Course

Python
43
star
13

YT-Django-Theory-Create-Custom-User-Models-Admin-Testing

Python
34
star
14

YT-Django-Docker-Compose-Celery-Redis-PostgreSQL

Python
34
star
15

YT-Django-CBV-Mini-Series

Python
29
star
16

YT-Vue-Django-Auth-JWT

Python
27
star
17

YT_NextJS_DRF_Ecommerce_2021_Part1

Python
24
star
18

YT-Vue-with-DjangoRestAPI

Python
22
star
19

FastAPI_AWS_Lambda_Deployment

Python
22
star
20

YT_FastAPI_Beginner_Fast-Track-GraphQL

Python
21
star
21

YT_FastAPI_User_Token_Authentication

Python
21
star
22

YT-Django-DRF-Simple-Blog-Series-Social-Login-Part-9

HTML
20
star
23

YT-Django-Iris-App-3xj9B0qqps

Python
19
star
24

YT-Django-Celery-Series-Part3-Schedule-Tasks

Python
19
star
25

Django-Permissions-Mastery

Python
18
star
26

YT-Django-Allauth-Google

Python
17
star
27

YT-Django-DRF-Simple-Blog-Series-File-Uploading-Part-8

HTML
16
star
28

YT-Django-Infinite-Scroll-Example-1

JavaScript
14
star
29

YT-Django-DRF-Simple-Blog-Series-Simple-CRUD-Part-7

HTML
14
star
30

YT-GraphQL-Django-Get-Started

Python
14
star
31

YT_Inline_Formset_CBV_Ex1

Python
13
star
32

YT_Django_Two_Factor_Example

Python
12
star
33

YT_Django_TensorFlow_Image_Classification_Basic

Python
12
star
34

YT-GraphQL-User-Authentication-GraphQL-Auth

Python
12
star
35

YT-Django-Docker-Compose-Introduction

Python
11
star
36

YT-Django-API-Quiz-Part1

Python
11
star
37

YT-Django-RestAPI-React-Frontend

Python
11
star
38

Django-Tutorials

JavaScript
10
star
39

YT_Django_Project_Ecommerce_v1_Part1

Python
10
star
40

YT_Django_Admin_csv_Button_Upload

Python
10
star
41

YT-React-Django-Chatroom-Part-3-Django-Backend

Python
10
star
42

YT-Django-Docker-Deploy-Heroku-Container

Python
10
star
43

YT_Faker_Intro

Python
10
star
44

YT_NextJS_DRF_Ecommerce_2021_Part2_Sessions_HttpOnly

JavaScript
9
star
45

YT-Django-Simple-Blog-App-Part5-Comments-MPTT

Python
9
star
46

YT-Django-Celery-Series-email-example

Python
9
star
47

YT_NextJS_GraphQL_Django_Ecommerce_2021_Part1

Python
9
star
48

YT-GraphQL-Django-Queries-Introduction

Python
9
star
49

YT_Django_async_views_ex1

Python
8
star
50

YT-Django-GitHub-Actions-Testing

Python
8
star
51

YT-React-Django-Chatroom-Part-3-React-Backend

JavaScript
8
star
52

YT_Django_Internationalization_Part_1

Python
8
star
53

YT-Django-Testing-Series-Introduction-models

HTML
8
star
54

YT-Django-DRF-Simple-Blog-Series-Permissions-Part-2

HTML
8
star
55

YT_Django_Project_Ecommerce_Part_6_Final

Python
8
star
56

Python-Beginner-PY001

8
star
57

yt-django-4-baseline-multiple-image-form

Python
7
star
58

YT-Django-Celery-Series-Intro-Install-Run-Task

Python
7
star
59

YT-Django-DRF-Simple-Blog-Series-Filters-Basic-Search-Part-6

HTML
7
star
60

YT-Django-Heroku-Deploy-Channels-Daphne

Python
7
star
61

YT-Django-Simple-Blog-App-Part8-User-Authentication-System

HTML
6
star
62

YT_Django_Project_Ecommerce_Part_8_PayPal

Python
6
star
63

YT-Django-Media-Static-AWS-S3

Python
6
star
64

YT-Django-Docker-Compose-PostgreSQL-Volume

Python
6
star
65

YT_Django_Core_Middleware_Intro

Python
6
star
66

YT-XAMPP-SSL-Config

6
star
67

YT_Django_Project_Ecommerce_Part_3_Final_v1

HTML
5
star
68

YT-Django-args-kwargs

HTML
5
star
69

YT_NextJS_GraphQL_Django_Ecommerce_2021_Part2_HttpOnly_Cookie_JWT

JavaScript
5
star
70

YT-Django-Image-API-Service-Project-Introduction-Build

Python
5
star
71

YT_Django_Project_Ecommerce_v1_Part2-Basket-Sessions

Python
5
star
72

YT-Django-Simple-Blog-App-AF4ji8bb1M8

Python
5
star
73

YT-Django-RestAPI-Webpage

Python
5
star
74

yt-django-crontab-database-actions

HTML
5
star
75

YT-Django-DRF-Simple-Blog-Series-Viewset-Routers-Part-4

HTML
5
star
76

YT-Vue-Django-ML-Iris-API

Python
4
star
77

discord-quiz-bot-project

Python
4
star
78

YT_Crash_Course_Django_2021

Python
4
star
79

YT_Docker_Compose_Start_Django_App

Python
4
star
80

Python-Excel

Python Excel
4
star
81

YT_Django_Multiple_Database_Example1

Python
4
star
82

YT-Django-Simple-Blog-App-Part6-Simple-Search

Python
4
star
83

Python-Challenges

Jupyter Notebook
4
star
84

YT-Django-Admin-Series-SummerNote

JavaScript
3
star
85

YT-django-search-full-text-search-introduction

Python
3
star
86

YT-Django-Simple-Blog-App-Part4-FileUploads

Python
3
star
87

YT-Django-DRF-Simple-Blog-Series-Schema-Documentation-Part-5

HTML
3
star
88

YT-Django-User-Auth

Python
3
star
89

YT-FlaskAPI-Vue-ML-Wine-Classification

Jupyter Notebook
3
star
90

YT-Django-Simple-Blog-App-Part15-MPTT-AJAX-Comments

HTML
3
star
91

YT_Django_Project_Ecommerce_Part_7_Wish_List

Python
3
star
92

YT-Django-API-Quiz-React-Frontend-Part2

Python
3
star
93

Python-Intermediate-PY003

3
star
94

YT-Django-ORM-introduction-noORM-raw-sql-part8

Python
3
star
95

YT-Django-Admin-Series-Admin-Template

JavaScript
3
star
96

YT_Docker_Django_Beginners_First_Steps

Python
3
star
97

selenium-mastery-with-django

Python
3
star
98

YT-Django-Simple-Blog-App-Part11-Like-Feature-AJAX

HTML
3
star
99

YT-Django-Simple-Blog-App-Part2-Comments

Python
3
star
100

YT-Django-Simple-Blog-App-Part13-Towards-Adv-Search-with-PostgreSQL

HTML
3
star