You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/app-service/quickstart-python.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ To complete this quickstart, you need:
23
23
> [!NOTE]
24
24
> This article contains current instructions on deploying a Python web app using Azure App Service. Python on Windows is no longer supported.
25
25
26
-
## 1 - Sample application
26
+
## Sample application
27
27
28
28
This quickstart can be completed using either Flask, Django, or FastAPI. A sample application in each framework is provided to help you follow along with this quickstart. Download or clone the sample application to your local workstation.
29
29
@@ -141,7 +141,7 @@ Having issues? [Let us know](https://aka.ms/PythonAppServiceQuickstartFeedback).
141
141
142
142
---
143
143
144
-
## 2 - Create a web app in Azure
144
+
## Create a web app in Azure
145
145
146
146
To host your application in Azure, you need to create Azure App Service web app in Azure. You can create a web app using the Azure CLI, [VS Code](https://code.visualstudio.com/), [Azure Tools extension pack](https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-node-azure-pack), or [Azure portal](https://portal.azure.com/).
147
147
@@ -191,7 +191,7 @@ Sign in to the [Azure portal](https://portal.azure.com/) and follow these steps
191
191
192
192
Having issues? [Let us know](https://aka.ms/PythonAppServiceQuickstartFeedback).
193
193
194
-
## 3 - Deploy your application code to Azure
194
+
## Deploy your application code to Azure
195
195
196
196
Azure App service supports multiple methods to deploy your application code to Azure including support for GitHub Actions and all major CI/CD tools. This article focuses on how to deploy your code from your local workstation to Azure.
197
197
@@ -215,7 +215,7 @@ Azure App service supports multiple methods to deploy your application code to A
215
215
216
216
Having issues? Refer first to the [Troubleshooting guide](./configure-language-python.md#troubleshooting), otherwise, [let us know](https://aka.ms/PythonAppServiceQuickstartFeedback).
217
217
218
-
## 4 - Configure startup script
218
+
## Configure startup script
219
219
220
220
Based on the presence of certain files in a deployment, App Service automatically detects whether an app is a Django or Flask app and performs default steps to run your app. For apps based on other web frameworks like FastAPI, you need to configure a startup script for App Service to run your app; otherwise, App Service runs a default read-only app located in the *opt/defaultsite* folder.
221
221
@@ -281,7 +281,7 @@ For FastAPI, you must configure a custom startup command for App Service to run
281
281
282
282
---
283
283
284
-
## 5 - Browse to the app
284
+
## Browse to the app
285
285
286
286
Browse to the deployed application in your web browser at the URL `http://<app-name>.azurewebsites.net`. If you see a default app page, wait a minute and refresh the browser.
287
287
@@ -293,7 +293,7 @@ The Python sample code is running a Linux container in App Service using a built
293
293
294
294
Having issues? Refer first to the [Troubleshooting guide](./configure-language-python.md#troubleshooting), otherwise, [let us know](https://aka.ms/PythonAppServiceQuickstartFeedback).
295
295
296
-
## 6 - Stream logs
296
+
## Stream logs
297
297
298
298
Azure App Service captures all messages output to the console to assist you in diagnosing issues with your application. The sample apps include `print()` statements to demonstrate this capability.
0 commit comments