如何在Web App中指定起点 [英] How to specify starting point in Web App

查看:68
本文介绍了如何在Web App中指定起点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用Bit Bucket部署Web应用程序。我能够成功部署该部分。但是,当我打开我的网址时,说"这个网站正在Python 3.6.6上运行"。但不是实际的Python文件。如何在此处设置起点。
请帮帮我这个

解决方案

您是否在Linux App Service计划上运行Python? 


如果您浏览到WebApp并转到"应用程序设置",刀片有运行时配置。您可以设置运行时堆栈(Python版本)并定义启动文件。您还可以按如下方式自定义启动过程:  https://docs.microsoft.com/en-us/azure/app-service/containers/how-to-configure-python#customize-startup-command




I am trying to deploy Web app using Bit Bucket. I am able to successfully deploy that part. But when I open my web url..its saying "This web site is running on Python 3.6.6". But not the actual Python file. How can I set the start point here. Please help me in this

解决方案

Are you running Python on a Linux App Service plan? 

If you browse to your WebApp and go to the "Application Settings" blade there is a Runtime configuration. You can set your Runtime Stack (Python version) and define a startup file. You can also customize your startup process as follows: https://docs.microsoft.com/en-us/azure/app-service/containers/how-to-configure-python#customize-startup-command


这篇关于如何在Web App中指定起点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆