Build and run Django in Docker in 10 minutes (+ bonus tips)
HTML-код
- Опубликовано: 21 авг 2024
- Build and run Django using Docker in just 10-15 minutes.
Here you will learn about:
- installing Python and Docker
- setting up a Django project
- production settings in Django
- best security practices
- Docker build and run commands
Project Code: github.com/ala...
Excellent! Thank you so much, I was able to figure out exactly what the root cause of all my problems was by following your tutorial.
Thank you so much! You are the best! The only thing that was confusing was that I needed to install Docker Desktop in order for the docker commands to work (installing the docker cli was not enough)
Outstanding man!!! thx
i came here to findout why my admin/ is messed up and static files are not working and i saw yours are same :)
😂 true
the best!!!
Hi Adam,
Thank you for this tutorial.
I find something cofusing (I think it's only for me.): why do we need python&django instaled on local if we intend to run them from docker?
Can we run this instalation process without installing them on local ?
Any hints how ?
Thank you.
thanks
Hi adam thanks for sharing this tutorial, This is the first time when i liked youtube suggestion algorithm they suggests your video and its amazing please can you make a series on how we can deploy multiple django apps on the same server with docker and each app can use their own domain name?
everyone makes videos about django but no one cover the deployment steps like you do keep going
you get another like + subscribe
Still in Kelowna or Revelstoke? Cause I’m coming to BC!!
oh couple of things that stood out: you installed django gloablly for your python3.12 then created the my-env file and addded django as a dependency. thats not right, first create your venv folder, activate it, then install django, create project, etc. Allowed hosts are not what you said it means.
Thank you for commenting I was thinking the same about the venv. Can you please explain the second part with the allowed hosts?
"In plain English", I see what you did there