When deploying a Django app in azure websites, no deployable project is found

帅比萌擦擦* 提交于 2020-01-16 00:44:42

问题


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.

Found solution 'C:\DWASFiles\Sites\chocolate-chocolate\VirtualDirectory0\site\repository\chocolate\chocolate.sln' with no deployable projects. Deploying files instead.

Any hint is highly appreciated.


回答1:


I experienced the same problem deploying a boiler plate node.js app.

I found the solution here: http://nodejstools.codeplex.com/workitem/702

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.



来源:https://stackoverflow.com/questions/19756231/when-deploying-a-django-app-in-azure-websites-no-deployable-project-is-found

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!