简体   繁体   English

在IIS服务器上部署Django CMS

[英]Deploy Django CMS on IIS Server

After learning from this tutorial now I can run Django CMS on my laptop using virual envronment.从本教程中学习后,我现在可以使用虚拟环境在笔记本电脑上运行 Django CMS。

在此处输入图像描述

在此处输入图像描述

But I want to deploy this CMS to IIS server.但我想将此 CMS 部署到 IIS 服务器。
I also installed我也安装了

pip install wfastcgi

But when I try to set DJANGO_SETTINGS_MODULE in IIS CGI Setting, I find that I still don't have.settings file yet.但是当我尝试在 IIS CGI 设置中设置 DJANGO_SETTINGS_MODULE 时,我发现我仍然没有.settings 文件。 在此处输入图像描述

Regarding to setting, below are only files which i have so far.关于设置,以下只是我目前拥有的文件。

在此处输入图像描述

So, my question is how can I do to deploy Django CMS on IIS Server?所以,我的问题是如何在 IIS 服务器上部署 Django CMS?

Thanks.谢谢。

I tried the tutorial.我试过教程。 I found the problem you mentioned.我发现了你提到的问题。 Actually, the settings.py file in your screenshot is the ".settings" file you are missing.实际上,屏幕截图中的 settings.py 文件是您丢失的“.settings”文件。

And you want to know how to deploy Django CMS on IIS Server.并且您想知道如何在 IIS Server 上部署 Django CMS。 You can refer to this tutorial for the steps.具体步骤可参考本教程 Hope it is useful for you.希望它对你有用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM