Skip to content

Commit 920b296

Browse files
authored
Updating README sections
1 parent 72757a8 commit 920b296

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

articles/azure-app-configuration/quickstart-python-provider.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@ Add the following key-values to the App Configuration store. For more informatio
3333
| *test.message* | *Hello test* | Leave empty | Leave empty |
3434
| *my_json* | *{"key":"value"}* | Leave empty | *application/json* |
3535

36-
## Set up the Python app
36+
## Console Applications
3737

38+
### Connect to App Configuration
3839
1. Create a new directory for the project named *app-configuration-quickstart*.
3940

4041
```console
@@ -87,35 +88,35 @@ Add the following key-values to the App Configuration store. For more informatio
8788
print("test.message found: " + str("test.message" in config))
8889
```
8990

90-
## Configure your App Configuration connection string
91+
### Run the application
9192

9293
1. Set an environment variable named **AZURE_APPCONFIG_CONNECTION_STRING**, and set it to the connection string of your App Configuration store. At the command line, run the following command:
9394

94-
### [Windows command prompt](#tab/windowscommandprompt)
95+
#### [Windows command prompt](#tab/windowscommandprompt)
9596

9697
To build and run the app locally using the Windows command prompt, run the following command and replace `<app-configuration-store-connection-string>` with the connection string of your app configuration store:
9798

9899
```cmd
99100
setx AZURE_APPCONFIG_CONNECTION_STRING "connection-string-of-your-app-configuration-store"
100101
```
101102

102-
### [PowerShell](#tab/powershell)
103+
#### [PowerShell](#tab/powershell)
103104

104105
If you use Windows PowerShell, run the following command and replace `<app-configuration-store-connection-string>` with the connection string of your app configuration store:
105106

106107
```azurepowershell
107108
$Env:AZURE_APPCONFIG_CONNECTION_STRING = "<app-configuration-store-connection-string>"
108109
```
109110

110-
### [macOS](#tab/unix)
111+
#### [macOS](#tab/unix)
111112

112113
If you use macOS, run the following command and replace `<app-configuration-store-connection-string>` with the connection string of your app configuration store:
113114

114115
```console
115116
export AZURE_APPCONFIG_CONNECTION_STRING='<app-configuration-store-connection-string>'
116117
```
117118

118-
### [Linux](#tab/linux)
119+
#### [Linux](#tab/linux)
119120

120121
If you use Linux, run the following command and replace `<app-configuration-store-connection-string>` with the connection string of your app configuration store:
121122

@@ -125,31 +126,31 @@ Add the following key-values to the App Configuration store. For more informatio
125126

126127
1. Restart the command prompt to allow the change to take effect. Print out the value of the environment variable to validate that it is set properly with the command below.
127128

128-
### [Windows command prompt](#tab/windowscommandprompt)
129+
#### [Windows command prompt](#tab/windowscommandprompt)
129130

130131
Using the Windows command prompt, run the following command:
131132

132133
```cmd
133134
printenv AZURE_APPCONFIG_CONNECTION_STRING
134135
```
135136
136-
### [PowerShell](#tab/powershell)
137+
#### [PowerShell](#tab/powershell)
137138
138139
If you use Windows PowerShell, run the following command:
139140
140141
```azurepowershell
141142
$Env:AZURE_APPCONFIG_CONNECTION_STRING
142143
```
143144
144-
### [macOS](#tab/unix)
145+
#### [macOS](#tab/unix)
145146
146147
If you use macOS, run the following command:
147148
148149
```console
149150
echo "$AZURE_APPCONFIG_CONNECTION_STRING"
150151
```
151152
152-
### [Linux](#tab/linux)
153+
#### [Linux](#tab/linux)
153154
154155
If you use Linux, run the following command:
155156

0 commit comments

Comments
 (0)