Thanks Johnny for making this video. There are not lot of people out there who will create such tutorials. You saved the day man. Keep up the good work and charity.
@felipeinoue62574 жыл бұрын
It's hard to find such a direct and well explained tutorial like this. Many thanks!!
@88kajin6 ай бұрын
Even after 4yrs later from publishing this video, it's being helpful! Thanks a lot for such a nicely explained tutorial. ❤
@TheSoftwareServices3 жыл бұрын
Thank you Jonny, after watching many videos at last with your video guidance, i had successfully deployed my django app in IIS .May god bless u and ur family.
@SingleIndexArray4 жыл бұрын
I gave up on deploying my app to IIS. its been a year that i cant find a straight forward video/doc. anything i tried, failed. today i found your video, and in matter of 30 min i deployed my app and working perfectly. really great job and thanks for this
@danieleriksson32947 ай бұрын
Even if it was older it was a damn good tutorial, all the love to you.
@otegbadekolade61104 жыл бұрын
Hello! After two days of hair pulling, I found your video and finally got it to work Thanks a lot
@miguellinares74653 ай бұрын
I have seen your video with Spanish subtitles, You take your like and new subscriber. It worked perfectly for me and I couldn't find any other video that explained it as well as this one!
@Johnnyboycurtis3 ай бұрын
Que bueno que te haya ayudado ❤️
@alvischeng59434 жыл бұрын
Thank you Johnny, you are my lifesaver, I spent 3 days too and no good result before I see your video.
@langtutorial4828 Жыл бұрын
Thanks a lot. Seriously I have been doing this for the past one week. But now I am done with this . Thanks a lot
@arielpenalver253111 ай бұрын
Bro, you save my life!!! I could never deploy on windows...1st time! Thx a lot
@traitotaku49404 жыл бұрын
OMG! I spent 3 days to solve this but watching this video simply solved the problem in 20 min!!!!!! Many thanks my boy!
@sglgaming29912 жыл бұрын
"i'm gonna open up internet explorer and what i wanna do first is install a.. uuuh.. new web browser" 😂
@TheJester123-k1r3 жыл бұрын
Excellent and a lifesaver! This explained everything in needed detail and saved me a lot of pain. Really appreciate this...
@yunusrf3 жыл бұрын
Thank you very much, Johny. You saved a lot of effort. It is a very rare video with such a direct and well explained. God bless you. Many thanks!!
@prohacker50862 жыл бұрын
if it gives error on 18:00 when you try to collect static, uncomment this line in webproject/webproject/settings.py: "STATIC_ROOT = os.path.join(BASE_DIR, 'static')" Then it will collect just fine
@alirahmani89012 жыл бұрын
Thanks a lot, THE BEST TUTORIAL THAT REALLY WORKS. Well explained and concise. Thanks you.
@dennydraco2 жыл бұрын
Thanks for the vid., this was a greatly assisted in getting my site up and running.
@oshodikolapo2159 Жыл бұрын
Thank you for the well explained tutorial.
@anirudhkumar7263 жыл бұрын
Hello sir, here we are using ip address on local system to access a windows server site as shown at the end (22:00) but if we want to access this site by some other name what do we do.
@muhammadasad.36002 жыл бұрын
Thank you very much, Johny. Your video helped me alot
@paraskevaspetsanas53453 жыл бұрын
The best tutorial. Well explained! Thank you very much!
@lusonala70733 жыл бұрын
DUDE !!!!! YOU SAVED MY LIFE !!! THANK YOU SO SO MUCH !!! I WANNA DONATE, TO HELP YOU
@jonesth32 жыл бұрын
Great Project thank you for your help. I did have one issue with some of the newer python updates. They now store the time zone info with the pub_date. Excel does not support timezones in the time_date field. There may be a more elegant way to fix this, but I just stripped the time code off by converting the value to a str and doing a split with the "+".
@SLEDGERSoftwareCompany3 жыл бұрын
it works!!!... great video...
@Grunttamer10 ай бұрын
Really great tutorial but you should replace that .bat with a requirements.txt and use a virtual environment to keep your python install clean
@hectorpatino92059 ай бұрын
I think the dame I dont know if he did it this way for the ddls Im gonna try tomorrow and check if it works. Two days struggling with this 🥲
@PR174M4 жыл бұрын
Nice and Thorough video. It works. Thank you
@ManuelEnRed Жыл бұрын
Hola, es una forma sencilla de deplegar desde windows sin embargo la libreria crontab no me funciona corriendo sobre IIS, alguna solución?
@mehtabbandesha5637 Жыл бұрын
Will i need a VM if i am already on a Window 10 computer and will there be some extra steps ?
@christiankriedemann643 жыл бұрын
Very helpful. many thanks 🙏🏻
@Jakob12062 жыл бұрын
Great video and tutorial! Do any of you know how to configure multiple django apps on iis using different virtual environments? Can’t find anything on how to use different environments for different apps.
@lgtm28273 жыл бұрын
@1:35 IE be like "Am I a joke to you?"
@vincentverschuren32423 жыл бұрын
you are my hero!!
@kaanbalkaya2 жыл бұрын
Thanks a lot, that is so useful
@izenish2 жыл бұрын
This doesn’t seem to work with Django Rest framework with react frontend. Could anyone guide me through this! Deploying django rest framework under iis
@congchinh07 Жыл бұрын
thanks Johnny
@bilawal63 жыл бұрын
and its done. Thanks a lot
@jenilakoliya6567 Жыл бұрын
Thank you so much for the video
@akki_the_tecki Жыл бұрын
how to do flask application?
@AlastorGarcia3 жыл бұрын
Bro u the best! Thankssss
@hassanali9238 Жыл бұрын
I have deployed my django rest api , everything works fine but when i select data and send post request to api , page starts loading and after some time it shows error : HTtp error 500: internal server error . The FastCgi process exceeded configured activity timeout. Please help me with this
@hassanali9238 Жыл бұрын
Solution to this is : go to default application pool advance settings and add your administrator account in identify section. Thank you ❤
@oss2046 Жыл бұрын
where does the "web-config-template" file come from? Does it create itself or did you create it?
@Johnnyboycurtis Жыл бұрын
I made it
@oss2046 Жыл бұрын
@@Johnnyboycurtis thanks :)
@sharifahmed19254 жыл бұрын
Hi John, thanks for your tutorial :) Can you please create a tutorial for deploying on Linux configuring with a Database as well. Really appreciate it!
@Johnnyboycurtis4 жыл бұрын
There are many guides on how to do this already. You may want to checkout Corey Schafer’s KZbin channel. He has a playlist for building and deploying a Django project
@shafiqurrehman82162 жыл бұрын
Hello sir i phase this error : 'pip' is not recognized as an internal or external command, operable program or batch file.
@Johnnyboycurtis2 жыл бұрын
You don't have Python properly installed
@OthmanAlikhan3 жыл бұрын
Thanks for the video =)
@othmankabbaj99603 жыл бұрын
Hi, I've followed your tutorial step by step and I keep getting a 500.0 error saying: FastCGI Quit unexpectedly, any guidance as to why I might be getting that? Looks like django is not even talking to IIS here
@eugenetuyizere52314 жыл бұрын
I followed well the process but my CSS files are missing in the app. What can I do?
@akki_the_tecki Жыл бұрын
this is because you might run ur django app in non-internet pc, so that the CDN links in the styles are not accessing the internet, so you do save the CDN links and redirect them to ur code. and that works fine now. I found that today mrng only , LOL But i want to know how is the flask app will open in IIS 🙁🙁🙁
@shansabitjourney1274 жыл бұрын
Hi sir; I am thankful from your great and unique tutorial, but sir I faced to a problem, I used Django-Smart-Select in my project when I import ChainedForeignKey from smart_selects.db_fields (from smart_selects.db_fields import GroupedForeignKey, ChainedForeignKey) in modes.py file the web server give errors, I tested in both IIS, and Apache both of them give error. but normal case everything is good. would please help me sir, from two days I am working on it but I couldnot find any solution. thank you. The Apache errors(500 - Internal server error) IIS errors(Traceback (most recent call last): File "c:\python37\lib\site-packages\wfastcgi.py", line 791, in main env, handler = read_wsgi_handler(response.physical_path) File "c:\python37\lib\site-packages\wfastcgi.py", line 633, in read_wsgi_handler handler = get_wsgi_handler(os.getenv("WSGI_HANDLER")) File "c:\python37\lib\site-packages\wfastcgi.py", line 600, in get_wsgi_handler handler = __import__(module_name, fromlist=[name_list[0][0]]) File "C:\inetpub\wwwroot\webproject\webproject\wsgi.py", line 16, in application = get_wsgi_application() File "c:\python37\lib\site-packages\django\core\wsgi.py", line 12, in get_wsgi_application django.setup(set_prefix=False) File "c:\python37\lib\site-packages\django\__init__.py", line 24, in setup apps.populate(settings.INSTALLED_APPS) File "c:\python37\lib\site-packages\django\apps egistry.py", line 83, in populate raise RuntimeError("populate() isn't reentrant") RuntimeError: populate() isn't reentrant StdOut: StdErr: )
@amrirafik7524 жыл бұрын
Thanks for this tutorial! Can you show us how to deploy a flask app on Windows using Microsoft IIS
@akki_the_tecki Жыл бұрын
did you get that.. please Iam in need....
@AllthingsFoodieTX2 жыл бұрын
question so is the iis server seperate or did you install django on the microsoft server as well or is that on another pc thanks
@Johnnyboycurtis2 жыл бұрын
Everything is running on the same vm. IIS would require Django to be installed on the same VM.
@AllthingsFoodieTX2 жыл бұрын
@@Johnnyboycurtis great thanks so basically python Django are all on the Microsoft server as well as the iis config
@earnwhilelearn29414 жыл бұрын
Can you please make a video deployment of django app on azure
@chaitanyagokhale77027 ай бұрын
will this work today too? Seems to be a 4 years ago tutorial.
@Johnnyboycurtis7 ай бұрын
Still works as long as there haven’t been major changes
@zigooo_56118 ай бұрын
isn't it possible to use virtual environment ?
@Johnnyboycurtis4 ай бұрын
Yes
@ssandr1kka4 жыл бұрын
Could you please, also make a video where you enable media files? I kinda did the same as static to serve media, but I am surely doing it wrong
@ajaypratapyadav24184 жыл бұрын
How to host two Django application on single iis?
@Johnnyboycurtis4 жыл бұрын
You point to the different directories where your apps lie, then choose separate ports for them
@ajaypratapyadav24184 жыл бұрын
@@Johnnyboycurtis yes, John i pointed in separate directory and my webconfig is also separate but giving me 500 errors. Of fastwsgi error. For python.exe I also given all the permission to iis user. I get stuck here. For single website is working fine, but for multiple I'm facing above error
@Saradomin654 жыл бұрын
@@ajaypratapyadav2418 Have you solved this yet? I'm facing the same issue here.
@ajaypratapyadav24184 жыл бұрын
@@Saradomin65 no i haven't been solve the issue yet.
@gcaaoe95393 жыл бұрын
How do you change the port number from 80?
@WaleedTruman3 жыл бұрын
Thank you for this video but i need to show how can handle media files with iis
@pupaw20103 жыл бұрын
i setup everthing but im getting 404 when i navigate to \admin
@nikhilkhandelwal19473 жыл бұрын
Hi, I deployed the app on server but am not able to access it outside the VM
@Johnnyboycurtis3 жыл бұрын
Make sure your VM can communicate with host
@venkatabharathkarnati59324 жыл бұрын
Thanks for the video it's explained clearly . 1. Do we need to have same name structure folders like inetpub/wwwroot ? 2. I need to add redis and celery in background do you have any solution for this that will be more helpful. 3. Can you expect another video explaining adding a new site and giving some name instead of localhost?
@Johnnyboycurtis4 жыл бұрын
1. Yes 2. No, but there are plenty of other guides on Celery and other Django add-ons 3. Probably not. I'm a bit too busy. The point of this video was to illustrate basic steps to deploying a Django project on a Windows based platform. There are dozens of other useful guides that dive deeper into getting your project deploy-ready. For example, it sounds like you need a domain name. There are many tutorials that cover this. I recommend reviewing Corey Schafer's playlist on Django kzbin.info/www/bejne/l2WbqZibpJqJpM0
@venkatabharathkarnati59324 жыл бұрын
@@Johnnyboycurtis Thank you very much for you reply I am looking particularly in windows
@mohammedhassan-kx2yf2 жыл бұрын
hello anyone with this problem i succesfully deployed the first django application and it works perfectly however, i tried to deploy another django applicaiton and i can't get passed this error "HTTP Error 500.0 - Internal Server Error - The FastCGI process exited unexpectedly i suspect it has something to do with permissions but i changed and enabled permissions just like in the first web-app
@akki_the_tecki Жыл бұрын
Some one can tell me, How host for a FLASK APPLICATION please
@tajrianbintajahid75614 жыл бұрын
Hello ! Amazing tutorial ! I have one question. If I want to use a real ip and a domain name for people accessing my web-project,how do I do that ?
@Johnnyboycurtis4 жыл бұрын
The purpose of this tutorial was to show how to "connect" a Django project with one of the server options. There are other tutorials that cover that information in detail for example kzbin.info/www/bejne/emPPqJ5nitCasJI
@sharadbee38133 жыл бұрын
Why we are using google cloud platform here, Can't we do this with iis standalone?
@Johnnyboycurtis3 жыл бұрын
Google Cloud is used to create a clean VM. It’s up to you to decide where to host your server (locally or in the cloud)
@Saradomin654 жыл бұрын
Wait, should'nt we make a virtual environment and install all the dependencies of the project to that virtual environment? At least that's how I did it when I tried deploying it to Ubuntu.
@Johnnyboycurtis4 жыл бұрын
Yes. This is only an illustration of the basics. Trying to keep it as simple as possible.
@Saradomin654 жыл бұрын
@@Johnnyboycurtis Thanks for the reply, I'm trying it right now, hopefully all works well else I'm gonna stratch my head off.
@Saradomin654 жыл бұрын
@@Johnnyboycurtis Hey bro, another question. How can you deploy multiple project websites using IIS? Are the procedures the same?
@magichatake4 жыл бұрын
I have IIS. Even following your video I stepped on a error telling that could not find the script processor...
@Johnnyboycurtis4 жыл бұрын
Then you did not follow everything step by step, or you are using a Windows set up with settings different from a "blank" Windows VM. I suggest you create a Windows VM, download the GitHub repo and try again. Follow every single step closely.
@magichatake4 жыл бұрын
@@Johnnyboycurtis thanks man. I managed to solve the issue. I had to properly reinstall python on c:\ instead of c:\program files
@moyeda.m.chowdhury53363 жыл бұрын
By this time you already know what you did in and with this video is awesome! I am just extending the acknowledgment. Everything works but there's one problem I'm facing is when I try to export the file as excel I get a Server Error (500). Any idea why that might be?
@Johnnyboycurtis3 жыл бұрын
No idea. It’s just the export? You would need to follow the trace back. Make sure Debug = True to view the trace back
@moyeda.m.chowdhury53363 жыл бұрын
@@Johnnyboycurtis I'm terribly sorry for getting back this late! (Debug: can't subtract offset-naive and offset-aware datetimes) It seems that I was having some issues with the "TIME_ZONE = True", I made it false and it worked. Need to study deeper. Thanks :)
@dippydevices27924 жыл бұрын
Hi John.. Firstly congratualtions and thank you for an amazing tutorial.. I need help with win32com.. My app works with outlook and works perfect on local server.. However on the VM, it doesn't and gives me error about win32com error.. Is it because Outlook is not installed on the server machine? Is there a workaround to get over this. Please help.. I am using pywin32
@Johnnyboycurtis4 жыл бұрын
If your server is not a Windows based machine without Outlook (or whatever application it needs access to) installed then you will receive that error. Attempt running the application in development mode first (e.g. python manage.py runserver)
@abo.elfotouh4 жыл бұрын
I got an issue with media images after deployment ... any recommendations
@Johnnyboycurtis4 жыл бұрын
That depends on the issue. Can you elaborate? (please don't paste code here)
@abo.elfotouh4 жыл бұрын
@@Johnnyboycurtis thanks I resolve the problem .. by add media as virtual directory and specify web.config to deal with it as static files
@ajaypratapyadav24184 жыл бұрын
John, I tried to host two Django application but not working, giving 500 error
@crgross104 жыл бұрын
my css, jquery files isn't loading, can you help me? net::ERR_ABORTED 404 (Not Found)
@pupaw20103 жыл бұрын
my \admin page is not found
@delianasre66034 жыл бұрын
Video contents not show properly,please increase the font size whenever you will make. Video. Otherwise its nice.
@javig.37933 жыл бұрын
thx u
@trickllorente10634 жыл бұрын
is nginx is working?
@Johnnyboycurtis4 жыл бұрын
yes
@trickllorente10634 жыл бұрын
@@Johnnyboycurtis thanks for the reply .. great vid btw, auto subscribe
@akki_the_tecki Жыл бұрын
no its not. now
@gauravabhishek39304 жыл бұрын
Exception Type: UnsupportedOperation Exception Value: fileno while trying to upload a pic using Django website to AWS s3. It perfectly works on Django default 'runserver' but gives this error when on IIS Server. Please Help and Thanks a lot for this video
@rashika71882 жыл бұрын
did you find solution for this , i am also getting this error
@gauravabhishek39302 жыл бұрын
@@rashika7188 i guess i changed my server after that 🤣
@rashika71882 жыл бұрын
@@gauravabhishek3930 ok thanks for the information
@gauravabhishek39302 жыл бұрын
@@rashika7188 try Apache
@rashika71882 жыл бұрын
@@gauravabhishek3930 :) sure
@manasnim4 жыл бұрын
how to use this with python38?
@Johnnyboycurtis4 жыл бұрын
install python38
@manasnim4 жыл бұрын
@@Johnnyboycurtis Now I can use your webproject. But page isn't same your page on youtube, there is not center as yours. It is align left of page.
@manasnim4 жыл бұрын
@@Johnnyboycurtis Now I can use your webproject. But page isn't same your page on youtube, there is not center as yours. It is align left of page.
@manasnim4 жыл бұрын
and no line of table of data. why?
@drpando4 жыл бұрын
2 freakin weeks of bouncing all over the internet, StackOverflow, countless KZbin videos (ALL of which "touched" on the same edits, config files, wfastCGI, unlocking, etc. etc. ad nauseum.) NONE worked!!!! EXECPT YOURS!!!!! My website workes perfectly with IIS (Python 3.8.3, latest Django)
@Johnnyboycurtis4 жыл бұрын
Thanks buddy, glad I was able to help :)
@SingleIndexArray4 жыл бұрын
i spent the entire year bouncing around, nothing helped. this video was a life saver indeed
@akki_the_tecki Жыл бұрын
how to do for a flask applic?
@ziaurrehmanakhtar2 жыл бұрын
when i run python manage.py collectstatic command i got errors raise ImproperlyConfigured( django.core.exceptions.ImproperlyConfigured: You're using the staticfiles app without having set the STATIC_ROOT setting to a filesystem path.
@Johnnyboycurtis2 жыл бұрын
Looks like you need to configure STATIC_ROOT
@harinikumar913310 ай бұрын
When I type localhost it gives not found error , Can you help me?