MENU

Fun & Interesting

How to Dockerize Django in 5 minutes

JustDjango 32,316 lượt xem 3 years ago
Video Not Working? Fix It Now

In this video, you'll learn how to use Cookiecutter Django to Dockerize your Django in 5 minutes. Docker is a great tool that I've used in almost all of my projects. For beginners it can be difficult to get everything setup correctly so why not just learn from one of the community's most trusted sources - the Cookiecutter Django project.

📖 Read the blog post
https://justdjango.com/blog/django-react-paypal-payments

Professional Django developer courses:
👉 https://justdjango.com

✌️ Stay in touch

Facebook: https://www.facebook.com/justdjangocode
Instagram: https://www.instagram.com/justdjangocode
Twitter: https://www.twitter.com/justdjangocode
Email: matt@justdjango.com

Thank you for watching and don't forget to subscribe :)

00:00 Intro
01:00 Cookiecutter explanation
02:30 Downloading Docker
03:00 Installing Cookiecutter
04:00 Start project
06:30 Starting Cookiecutter project
16:45 Working in Requirements folder
18:20 Copy command
20:45 Local.yml file run-through
24:45 Using Docker compose
28:00 Adding postgres into requirements
29:30 Database configuration
32:00 Important runserver fix

Comment