After wasting 2 days, I found this video it solved my problem. Thanks a lot.
@veryacademy2 жыл бұрын
Glad to hear!
@koala2802 жыл бұрын
This video just broke my 5 hours of trial and error (or only error) streak. Tank you soo much. If somebody else got a problem with installing mysqlclient just add following line in Dockerfile of the django app between copy requirements and pip install requirements: RUN apk add gcc musl-dev mariadb-connector-c-dev
@AndresGonzalez-hn6mz2 жыл бұрын
Thank you so much for this video. I have watched so many hours on nginx looking for a solution to an error, and you sir explain things so well and thoroughly, that better than fixing, I understood more deeply and was able to troubleshoot.
@veryacademy2 жыл бұрын
Glad it helped
@akira_asahi Жыл бұрын
Thank you for the video. For me this gunicorn / nginx thing is too much. You made it much easier to understand.
@majestif2 жыл бұрын
Awesome series! Looking forward to the next parts, especially on caching. Thanks for your videos.
@veryacademy2 жыл бұрын
Caching up next, won't be too long. Its bank holidays here in UK so got family and what not, try to get the next instalment out on Tuesday/Wednesday
@MarkusEicher70 Жыл бұрын
Hi there. Many thanks for this demonstration on how to setup nginx as a proxy for Django. 🤛 I appreciate your content and I'm looking forward to the next videos I want to optimize this for production use for my personal websites.
@_mrmark Жыл бұрын
Спасибо. Ура, наконец-то у меня получилось подключить статику!
@edwinguevara88032 жыл бұрын
Thank you so much! This video tutorial has been very useful and easy to understand. Kudos!
@samucancld2 жыл бұрын
best video in the subject by FAR, thanks man
@gailleamolong9149 Жыл бұрын
underrated channel ngl
@takharamazanpolat7610 Жыл бұрын
Thank you, very clear explanation!
@jorgec83232 жыл бұрын
Thank you for always doing great content, this is insanely good. I am always surprised by the quality of this content, I wonder will you ever do anything related to Django and Caching?
@veryacademy2 жыл бұрын
Intro to Caching is the next tutorial with Nginx. I will then turn to a run of tutorials about deployment with Nginx and Django on DigitalOcean. Thank you for reminding me about Django Caching! I have a list of well over 100 Django tutorials, I will get it done eventually.
@jorgec83232 жыл бұрын
@@veryacademy You are just amazing!
@veryacademy2 жыл бұрын
Thank you Jorge, we all are amazing!
@sonnix312 жыл бұрын
Thank you sir, very much appreciated.
@annahri2 жыл бұрын
You deserve more subs and views!
@veryacademy2 жыл бұрын
Thank you!
@ailuros_2 жыл бұрын
Thanks for subtitling the video :)
@veryacademy2 жыл бұрын
No problem
@farhadshakibaca2 жыл бұрын
Thank you so much for this video
@DM-ww9wf2 жыл бұрын
Hi Zander, 2 questions... - I noticed @21:00 at the top of your docker-compose file there's no " version: 'x.y' '" which I thought was required - assuming its not and just best practice? If this is not entered what is the default, latest? - Using the code ( @21:00 ) that is working in your video, I get an error "Additional property env_file is not allowed"... I have the latest installation of docker and at the time of this comment the video is 6 months old. Any idea why this is occurring? Thanks
@DM-ww9wf2 жыл бұрын
Q1 - still relevant. Q2 - my bad... improper indenting caused this error.
@fps_spicyАй бұрын
i loved this
@ajmalmuhammed4902 жыл бұрын
this is really great tutorial, could you please include react production build serving through nginx
@alessandroscimone54632 жыл бұрын
really fantastic!
@veryacademy2 жыл бұрын
Thanks a lot!
@uh.d959 Жыл бұрын
thank you!!!! Files that didn't work with nginx are being read.
@MartinMoll-hw4dn7 ай бұрын
Hi! Congrats for the video and one question: this solution ensures that a django web serverver application can execute requests to third party servers like google firebase auth? Thanks
@pietroaminpuddu73882 жыл бұрын
Securing the containerized Django application (SSL) and deploying it would be a great continuation.
@veryacademy2 жыл бұрын
Next up is Django with secure link example then ssl probably with digital ocean. Then we move to api gateway
@pietroaminpuddu73882 жыл бұрын
@@veryacademy Just a question. Is out there some guide for SSL and Deploying which follows the project structure you are using in this video? Thanks a lot :)
@MDAbdurRahimcs50 Жыл бұрын
Great video on the internet, I learn a lot, but I want to add SSL to my application, can you make a video on How to add SSL?
@md5alx2 жыл бұрын
Thank you. SSL is work ??
@miguelvasquez9849 Жыл бұрын
Is it recommended that Django project files and static files be in a volume?
@gurhangoktas66182 жыл бұрын
Thanks you for videos. They are very helpfull for learning . I have a question. Have you any video or example for django - docker - gunicron - nginx about internal redirect for secure media files. I cant able to publish my secure media files with this setup and react frontend. If you havent create any content yet about that , it would be very helpfull. Thank you for i learned everything from you.
@biscotty66692 жыл бұрын
docker-compose build is failing with 'module 'dotenv' has no attribute 'dotenv_values''" . I can run the django app manually and it spins up fine. But docker-compose gives that error.
@user1491 Жыл бұрын
Oops, after I use nginx according to these instructions for the static files, the messages via Celery no longer work.
@veryacademy Жыл бұрын
Hmm, sorry, I can't help with this; let me know if you find out what the problem is.
@user1491 Жыл бұрын
@@veryacademy I found out that when I access the app via nginx, the async messages from Redis are not returned. Redis blocks them. If I have defined a port and access the app via this port bypassing nginx, there are no problems. I'll have a look at ....
@user1491 Жыл бұрын
@@veryacademy I found out that when I access the app via nginx, the async messages from Redis are not returned. Redis blocks them. If I have defined a port and access the app via this port bypassing nginx, there are no problems. I'll have a look at .... I'm using Channels ...
@user1491 Жыл бұрын
I have noticed that nginx does not forward the messages from channels-redis. If I also create a port in the yml file and bypass nginx, I receive my messages from channels-redis, but not via port 80 (nginx). Sorry, I use channels-redis, not celery ...
@brunomachado85712 жыл бұрын
Awesome tutorial! One question :) after I have everything up and running I notice I dont know the pass and user name you have for enter django admin page. I watch the tutorial more than once and you dont refer it anywhere...could you please tell what are those? thank you
@veryacademy2 жыл бұрын
User: admin Pass: admin
@veryacademy2 жыл бұрын
If not let me know, try admin and password
@brunomachado85712 жыл бұрын
@@veryacademy no Mate, none worked :) Can you also post the link to the first tutorial? The one with static html files? Thank you in advance. Definitely the best explained tutorial I´ve found about this subject. I´ve leaned more from this one tutorial, tahn from a thousand others.
@brunomachado85712 жыл бұрын
Another thing, when I try to create superuser I get ALLOWED_HOSTS = os.environ.get("ALLOWED_HOSTS").split(" ") AttributeError: 'NoneType' object has no attribute 'split' Would you be so kind as to provide a solution? :)
@anselmobd2 жыл бұрын
@@brunomachado8571 Hi! The os.environ.get is not finding the ALLOWED_HOSTS environment variable, so it returned None, than has no attribute 'split'.
@ibrahimoglu2 жыл бұрын
👍
@veryacademy2 жыл бұрын
👍
@biscotty66692 жыл бұрын
I'm really enjoying this series. Thank you. I'm stuck at around 10 mins into this video. I can't get past the "Forbidden" problem. If I look in the container I can see that /usr/share/nginx/html/main/index.html does exist. (If it makes any difference I'm working on my own remote server which I control via ssh. Everything has worked fine until now though.) I'd appreciate any help because I'm anxious to move forward.
@veryacademy2 жыл бұрын
hmmm sorry i cant really suggest anything here for you!
@biscotty66692 жыл бұрын
@@veryacademy Thanks for the reply. I actually posted in the wrong place but anyway I worked through it. Having another issue now.