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
In this quickstart, you'll deploy a Python web app (Django or Flask) to [Azure App Service](./overview.md#app-service-on-linux). Azure App Service is a fully managed web hosting service that supports Python apps hosted in a Linux server environment.
16
+
In this quickstart, you deploy a Python web app (Django or Flask) to [Azure App Service](./overview.md#app-service-on-linux). Azure App Service is a fully managed web hosting service that supports Python apps hosted in a Linux server environment.
17
17
18
18
To complete this quickstart, you need:
19
19
@@ -229,9 +229,9 @@ App Service automatically detects the presence of a Django app. No additional co
229
229
230
230
### [FastAPI](#tab/fastapi)
231
231
232
-
For FastAPI you must configure a custom startup command for App Service to run your app.
232
+
For FastAPI, you must configure a custom startup command for App Service to run your app.
233
233
234
-
#### [Azure CLI](#tab/fastapi/azure-cli)
234
+
#### [Azure CLI](#tab/azure-cli/fastapi)
235
235
236
236
First, configure the startup command using the [az webapp config set](/cli/azure/webapp/config#az-webapp-config-set) command.
237
237
@@ -250,11 +250,11 @@ az webapp restart \
250
250
--resource-group $RESOURCE_GROUP_NAME
251
251
```
252
252
253
-
#### [VS Code](#tab/fastapi/vscode-aztools)
253
+
#### [VS Code](#tab/vscode-aztools/fastapi)
254
254
255
255
Use Azure CLI or the Azure portal to configure the startup command.
256
256
257
-
#### [Azure portal](#tab/fastapi/azure-portal)
257
+
#### [Azure portal](#tab/azure-portal/fastapi)
258
258
259
259
First, configure the startup command. Under **Settings**, on the left menu, select the app's **Configuration** page, then select **General settings**. In the **Startup Command** field, enter *python main.py*. Then select **Save** to apply the changes. Wait for the notification that the settings have been updated before proceeding.
0 commit comments