Skip to content

Commit 1687115

Browse files
committed
updated airflow doc
1 parent 14c0b33 commit 1687115

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

scenarios/ConfigurePythonContainer/converted_configure-python-container.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.custom: innovation-engine, devx-track-python, devx-track-azurecli, linux-rela
1212

1313
In this quickstart, you'll learn how to configure a Python app deployed on Azure App Service using the Azure CLI. This includes setting and checking the Python version, listing the supported Python versions for App Service, and customizing build automation during deployment.
1414

15-
---
15+
1616

1717
## Prerequisites
1818

@@ -22,13 +22,13 @@ Ensure you have the following:
2222
- [Azure CLI installed](https://learn.microsoft.com/cli/azure/install-azure-cli) locally or access to [Azure Cloud Shell](https://ms.portal.azure.com/#cloudshell/).
2323
- Permissions to manage resources in your Azure subscription.
2424

25-
---
25+
2626

2727
## Step 1: Create necessary resources
2828

2929
The following commands create the required resources: a resource group, an App Service plan, and an App Service instance. **Random suffixes are included for resource names to avoid conflicts.**
3030

31-
---
31+
3232

3333
### Create a resource group
3434

@@ -57,7 +57,7 @@ Results:
5757
}
5858
```
5959

60-
---
60+
6161

6262
### Create an App Service plan
6363

@@ -86,7 +86,7 @@ Results:
8686
}
8787
```
8888

89-
---
89+
9090

9191
### Create an App Service instance
9292

@@ -109,7 +109,7 @@ Results:
109109
}
110110
```
111111

112-
---
112+
113113

114114
## Step 2: Show the current Python version
115115

@@ -127,7 +127,7 @@ Results:
127127
"PYTHON|3.10"
128128
```
129129

130-
---
130+
131131

132132
## Step 3: Set the desired Python version
133133

@@ -152,7 +152,7 @@ Results:
152152
"PYTHON|3.11"
153153
```
154154

155-
---
155+
156156

157157
## Step 4: List all supported Python runtime versions
158158

@@ -176,13 +176,13 @@ Results:
176176
]
177177
```
178178

179-
---
179+
180180

181181
## Step 5: Customize build automation
182182

183183
Azure App Service automates the Python app-building process during deployment. These steps demonstrate how to configure or modify its behavior.
184184

185-
---
185+
186186

187187
### Enable build automation
188188

@@ -206,13 +206,13 @@ Results:
206206
]
207207
```
208208

209-
---
209+
210210

211211
## Step 6: Add application settings
212212

213213
App settings in Azure App Service act as environment variables within your app. Below, we add and verify a sample setting.
214214

215-
---
215+
216216

217217
### Add a new App Service environment variable
218218

@@ -243,6 +243,6 @@ Results:
243243
]
244244
```
245245

246-
---
246+
247247

248248
This quickstart provides a structured way to configure Python runtime settings, build automation, and other critical application settings for an Azure App Service instance using Azure CLI.

0 commit comments

Comments
 (0)