3 years old and still the best tutorial i could find. I struggled so long with this and you made it so easy. Thanks for the good work you did :)
@mgradebe87833 жыл бұрын
Don't usually comment but my man you are a lifesaver. Super clear explanation and ran one time. Thanks sir
@jaredfiacco11074 жыл бұрын
Thank you Johnny! You're a lifesaver. I wasted a lot of time trying to figure things out on my own. Keep up the great content!
@kizmarco3 жыл бұрын
100% agreed! Big Thank You!
@TheKolcantas4 жыл бұрын
Saviour of beginners! Everything works as expected! Thank you!
@guysmallwood88283 жыл бұрын
Thanks for this great tutorial it really helped me. I've wrestling with a django windows deploy on and off for a couple of months. It works beautifully for me now.
@ramadhanngallen92173 жыл бұрын
Did you managed to use it with virtual environment
@marvingrapa Жыл бұрын
Still the best tutorial available. Thank you for sharing this.
@pitupipitu3 жыл бұрын
You made it very easy to understand the setup process, thanks!
@hamzazahidulislam34904 жыл бұрын
Thank you so much, sir 😍😍😍. sir, you don't know how much time I Spain on that topic finally I got it. sir good place you sir I don't know how to explain my mind to you sir
@projectxny3 жыл бұрын
After I run runserver.py it didnt print any message
@sarc0074 жыл бұрын
Thanks for your video and tutorials it really helped. May god give you health, wealth, happiness and success in this world and hereafter. Ameen. Your video is rare I wanted to know how to use nginx for my combined log generation. And it helped me along with another you tubers Django tutorial :).
@Saradomin654 жыл бұрын
So does that mean we'll have to open "Nginx.exe" all the time thru the CLI?
@TheRealHouji Жыл бұрын
Do you have tutorial on how to install certificate using nginx and waitress?
@rohitchugh19 Жыл бұрын
can u please help. its working on local machine but not working over the web
@sitizubaidah80394 жыл бұрын
Thank you very much.. 10:41 is what i'm looking for
@dinhtruonganhphuong39322 жыл бұрын
Can you tell me where I can input timeout period? I face an issue error 504 gateway timeout but I dont know where can I change timeout period
@kikocastroneto3 жыл бұрын
I'm having issues with the internationalization url. With manage.py runserver it works well, but with waitress custom manage.py start_server (a custom management command that I built), internationalization redirects won't work. I can type manually the internationalized address and it will work but using a form with the POST /i18n/setlang/ ends up with incorrect address
@projectxny3 жыл бұрын
I did everything but runserver is stuck and didnt print out any message
@aliqb2119Ай бұрын
me too, did you find solution these 3 years?
@harinikumar913310 ай бұрын
/how do we serve multiple Django Projects in the same Server?
@harinikumar913310 ай бұрын
I changed the port from 8080 to 7000 since 8080 was not available, when I run the command runserver.py, it does show "serving on http ... " instead it shows nothing at all, can someone help me?
@migy2202 жыл бұрын
Hello, do i need to follow the previous tutorial to make this one work?
@Johnnyboycurtis2 жыл бұрын
No. This is a standalone guide
@migy2202 жыл бұрын
@@Johnnyboycurtis so i just need to setup vmware engine from google cloud and follow the steps on the video?
@dgiri23333 жыл бұрын
Django running port 8080 ,nginx listen port 80 ,how this to syncing can You explain
@shafiqurrehman82162 жыл бұрын
hello sir , i face this error while working on the cmd windows 10 Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
@shafiqurrehman82162 жыл бұрын
while python 3.9 is also installed
@Johnnyboycurtis2 жыл бұрын
Try installing Miniconda.
@shafiqurrehman82162 жыл бұрын
@@Johnnyboycurtis instead of python 3.9
@crcacom Жыл бұрын
Good I will try it with my pc. To use Nginx in Windows 10. Thanks
@idedhica3 жыл бұрын
is it save for production? using waitress web server ..?
@syle99054 жыл бұрын
tks sir!! I have a question : This only work window server ? windows 10?
@Johnnyboycurtis4 жыл бұрын
This should be applicable to Windows 10 or Windows Server 2016/2019
@syle99054 жыл бұрын
@@Johnnyboycurtis oke, tks y very much
@syle99054 жыл бұрын
@@Johnnyboycurtis can you tell me , I should deploy django(+ mssql) with ..?
@JoshDingus4 жыл бұрын
Thanks! Definitely a pain point for windows users. I use NSSM for running items as a service. would be great to find similar config files for flask.
@soheilsalehi18 ай бұрын
Perfect Thanks sir
@PAVANKUMAR-vj8oi3 жыл бұрын
can it be accessed from other computer ?
@samp22862 жыл бұрын
yes, set DNS server and add rule for ports in firewall
@pankajmenkudale4 жыл бұрын
excellent .This video help me alot
@pankajmenkudale4 жыл бұрын
nginx: the configuration file C: ginx-1.19.2/conf/nginx.conf syntax is ok nginx: configuration file C: ginx-1.19.2/conf/nginx.conf test is successful and static folder path is added in webproject_nginx.conf as well this done . but WARNING:django.request:Not Found: /static/mainapp/style.css and js also not working .css not applying on page. and on console log showing this error Refused to apply style from 'view-localhost:9899/static/mainapp/style.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled
@Johnnyboycurtis4 жыл бұрын
I can’t debug your code for you. That’s your job buddy
@grazirodrigues13303 жыл бұрын
@@pankajmenkudale same problem here. Did you solve this?
@manelbech75112 жыл бұрын
iyt gives me 502 Bad Gateway nginx/1.21.6, can you please tell me what could be the reason??
@Johnnyboycurtis2 жыл бұрын
It's difficult to say, but it sounds like your nginx conf file may not be configured correctly. Double check it. Are you running my project or your own personal project? I recommend trying mine first, then switching over to yours after you've successfully run through this tutorial
@gegrigaming4 жыл бұрын
how to run it on background
@deepakpatilyt2 жыл бұрын
Thanks for Solution . But It Is Working Only locally when i try to access the page from outside it doesnt load . Do you know any solution for this? . I have tried adding ip to conf file also changing allowed hosts.
@AimenDAHMANI-c1b Жыл бұрын
same here, have you found any solution
@deepakpatilyt Жыл бұрын
Use reverse proxy
@AimenDAHMANI-c1b Жыл бұрын
@@deepakpatilyt can you explain more or suggest me a good tutorial please
@deepakpatilyt Жыл бұрын
And then forward traffic from public IP to your local server
@tajrianbintajahid75614 жыл бұрын
Hi , I followed you tutorial. My OS: Windows Server 2012R2 and I have been given a local ip((MSTSC/ Remote access is enabled)). The site works fine in local-host but when I try to access the site using the local ip , it shows 404 error. Can you please help me understand what went wrong ! Thanks a lot !
@jibinKjohn043 жыл бұрын
@@tajrianbintajahid7561 did you got the solution
@tajrianbintajahid75613 жыл бұрын
@@jibinKjohn04 yes
@jibinKjohn043 жыл бұрын
@@tajrianbintajahid7561 can you give his mail id
@tajrianbintajahid75613 жыл бұрын
@@jibinKjohn04 he replied to my first comment with his mail id and said he will delete the comment later. So I think I cant give you his mail without his permission. but I kind of found an alter nate solution for myself. I used ISS and fastcgi to host my website.
@jibinKjohn043 жыл бұрын
@@tajrianbintajahid7561 So for you it didn't worked with nginx
@keokeovongsa35823 жыл бұрын
How to add media directory
@Hana-z6i8y4 ай бұрын
error 500 when i closed cmd
@Awayhavingfun4 жыл бұрын
Col stuff
@Jalan-Api8 ай бұрын
I am gonna copy this *Proceeds to cut*
@mohammadrezatavasoli61084 жыл бұрын
hi i have this problem how should i solve this C: ginx-1.19.1>nginx.exe -t nginx: the configuration file C: ginx-1.19.1/conf/nginx.conf syntax is ok nginx: [emerg] bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions) nginx: configuration file C: ginx-1.19.1/conf/nginx.conf test failed
@Johnnyboycurtis4 жыл бұрын
Read the error.
@VyNguyen-jm1pg2 жыл бұрын
I have this problem: WARNING:django.request:Not Found: /