Skip to content

Commit 10b2752

Browse files
authored
Polish guide to set env using CMD
1 parent 81faa6a commit 10b2752

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,14 +132,14 @@ Add the following key-values to the App Configuration store. For more informatio
132132
export AZURE_APPCONFIG_CONNECTION_STRING='<app-configuration-store-connection-string>'
133133
```
134134

135-
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.
135+
1. Print out the value of the environment variable to validate that it is set properly with the command below.
136136

137137
### [Windows command prompt](#tab/windowscommandprompt)
138138

139-
Using the Windows command prompt, run the following command:
139+
Using the Windows command prompt, restart the command prompt to allow the change to take effect and run the following command:
140140

141141
```cmd
142-
printenv AZURE_APPCONFIG_CONNECTION_STRING
142+
echo %AZURE_APPCONFIG_CONNECTION_STRING%
143143
```
144144
145145
### [PowerShell](#tab/powershell)
@@ -164,6 +164,7 @@ Add the following key-values to the App Configuration store. For more informatio
164164
165165
```console
166166
echo "$AZURE_APPCONFIG_CONNECTION_STRING"
167+
```
167168
168169
1. After the build successfully completes, run the following command to run the app locally:
169170

articles/azure-app-configuration/quickstart-javascript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This document shows examples of how to use the [Azure SDK for JavaScript](https:
2020
2121
## Prerequisites
2222

23-
- Azure subscription - [create one for free](https://azure.microsoft.com/free/)
23+
- An Azure account with an active subscription - [Create one for free](https://azure.microsoft.com/free/)
2424
- An App Configuration store. [Create a store](./quickstart-azure-app-configuration-create.md#create-an-app-configuration-store).
2525
- [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule). For information about installing Node.js either directly on Windows or using the Windows Subsystem for Linux (WSL), see [Get started with Node.js](/windows/dev-environment/javascript/nodejs-overview)
2626

0 commit comments

Comments
 (0)