在蔚蓝色的网站中部署Django应用程序时,无法找到可部署的项目 [英] When deploying a Django app in azure websites, no deployable project is found
问题描述
我正在尝试使用azure网站部署一个Django应用程序。我的应用程序在当地工作很好,但是我无法部署它。我收到HTTP 500内部服务器错误。
I am trying to deploy a Django app using azure websites. My app works locally fine, but I am not able to deploy it. I get a HTTP 500 Internal Server Error.
我在我的提交的查看日志中找到了这个。
I found this in the view log of my commit.
找到解决方案'C:\DWASFiles\Sites\chocolate-chocolate\VirtualDirectory0\site\repository\chocolate\chocolate.sln'with没有可部署的项目。
Found solution 'C:\DWASFiles\Sites\chocolate-chocolate\VirtualDirectory0\site\repository\chocolate\chocolate.sln' with no deployable projects. Deploying files instead.
非常感谢任何提示。
推荐答案
我遇到了同样的问题,部署了一个锅炉节点node.js应用程序。
I experienced the same problem deploying a boiler plate node.js app.
我在这里找到解决方案:
http://nodejstools.codeplex.com/workitem/702
I found the solution here: http://nodejstools.codeplex.com/workitem/702
我想当你创建一个新的项目时,你需要取消选中创建
目录解决方案这里的问题是部署脚本
将不会检测到它作为一个Node.js应用程序,如果server.js / app.js在
文件夹中。
I think when you create a new project you need to uncheck "Create directory for solution" The issue here is that the deployment scripts won't detect it as a Node.js app if the server.js/app.js is in a folder.
可能需要检查您的源目录结构是否嵌套文件夹。
It might be worth checking your source directory structure for a nested folder.
这篇关于在蔚蓝色的网站中部署Django应用程序时,无法找到可部署的项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!