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-nodejs.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -123,7 +123,7 @@ Before you continue, ensure that you have all the prerequisites installed and co
123
123
# [Deploy to Linux](#tab/linux)
124
124
125
125
2. Right-click on App Services and select**Create new Web App**. A Linux container is used by default.
126
-
1. Type a globally unique name for your web app and press **Enter**. The name must be unique across all of Azure and use only alphanumeric characters ('A-Z', 'a-z', and '0-9') and hyphens ('-'). See [note at top](./includes/regionalization-note.md#dnl-note).
126
+
1. Type a globally unique name for your web app and press **Enter**. The name must be unique across all of Azure and use only alphanumeric characters ('A-Z', 'a-z', and '0-9') and hyphens ('-'). See [note at top](#dnl-note).
127
127
1. In Select a runtime stack, selectthe Node.js version you want. An **LTS** version is recommended.
128
128
1. In Select a pricing tier, select**Free (F1)** and waitforthe resources to be createdin Azure.
129
129
1. In the popup **Always deploy the workspace "myExpressApp" to \<app-name>"**, select **Yes**. This way, as long as you're in the same workspace, Visual Studio Code deploys to the same App Service app each time.
@@ -135,7 +135,7 @@ Before you continue, ensure that you have all the prerequisites installed and co
135
135
# [Deploy to Windows](#tab/windows)
136
136
137
137
2. Right-click on App Services and select **Create new Web App... Advanced**.
138
-
1. Type a globally unique name for your web app and press **Enter**. The name must be unique across all of Azure and use only alphanumeric characters ('A-Z', 'a-z', and '0-9') and hyphens ('-'). See [note at top](./includes/regionalization-note.md#dnl-note).
138
+
1. Type a globally unique name for your web app and press **Enter**. The name must be unique across all of Azure and use only alphanumeric characters ('A-Z', 'a-z', and '0-9') and hyphens ('-'). See [note at top](#dnl-note).
139
139
1. Select **Create a new resource group**, then enter a name for the resource group, such as *AppServiceQS-rg*.
140
140
1. Select the Node.js version you want. An **LTS** version is recommended.
141
141
1. Select **Windows** for the operating system.
@@ -187,13 +187,13 @@ az webapp up --sku F1 --name <app-name> --os-type Windows
187
187
-----
188
188
189
189
- If the `az`command isn't recognized, ensure you have the Azure CLI installed as described in [Set up your initial environment](#set-up-your-initial-environment).
190
-
- Replace `<app_name>` with a name that's unique across all of Azure (*valid characters are `a-z`, `0-9`, and `-`*). See [note at top](./includes/regionalization-note.md#dnl-note). A good pattern is to use a combination of your company name and an app identifier.
190
+
- Replace `<app_name>` with a name that's unique across all of Azure (*valid characters are `a-z`, `0-9`, and `-`*). See [note at top](#dnl-note). A good pattern is to use a combination of your company name and an app identifier.
191
191
- The `--sku F1` argument creates the web app on the Free pricing tier, which incurs a no cost.
192
192
- You can optionally include the argument `--location <location-name>` where `<location_name>` is an available Azure region. You can retrieve a list of allowable regions for your Azure account by running the [`az account list-locations`](/cli/azure/appservice#az-appservice-list-locations) command.
193
193
- The command creates a Linux app for Node.js by default. To create a Windows app instead, use the `--os-type` argument.
194
194
- If you see the error, "Could not auto-detect the runtime stack of your app," ensure you're running the command in the *myExpressApp* directory (See [Troubleshooting auto-detect issues with az webapp up](https://github.com/Azure/app-service-linux-docs/blob/master/AzWebAppUP/runtime_detection.md)).
195
195
196
-
The command may take a few minutes to complete. While running, it provides messages about creating the resource group, the App Service plan, and the app resource, configuring logging, and doing ZIP deployment. It then gives the message, "You can launch the app at http://<app-name>.azurewebsites.net", which is the app's URL on Azure (see [note at top](./includes/regionalization-note.md#dnl-note)).
196
+
The command may take a few minutes to complete. While running, it provides messages about creating the resource group, the App Service plan, and the app resource, configuring logging, and doing ZIP deployment. It then gives the message, "You can launch the app at http://<app-name>.azurewebsites.net", which is the app's URL on Azure (see [note at top](#dnl-note)).
197
197
198
198
<pre>
199
199
The webapp '<app-name>' doesn't exist
@@ -238,7 +238,7 @@ Sign in to the [Azure portal](https://portal.azure.com).
238
238
239
239
:::image type="content" source="./media/quickstart-nodejs/project-details.png" alt-text="Screenshot of the Project details section showing where you select the Azure subscription and the resource group for the web app":::
240
240
241
-
1. Under **Instance details**, type a globally unique name for your web app and select **Code** (see [note at top](./includes/regionalization-note.md#dnl-note)). Select *Node 18 LTS* **Runtime stack**, an **Operating System**, and a **Region** you want to serve your app from.
241
+
1. Under **Instance details**, type a globally unique name for your web app and select **Code** (see [note at top](#dnl-note)). Select *Node 18 LTS* **Runtime stack**, an **Operating System**, and a **Region** you want to serve your app from.
242
242
243
243
:::image type="content" source="./media/quickstart-nodejs/instance-details.png" alt-text="Screenshot of the Instance details section where you provide a name for the virtual machine and select its region, image and size":::
244
244
@@ -315,15 +315,15 @@ You can deploy changes to this app by making edits in Visual Studio Code, saving
315
315
316
316
This command uses values that are cached locally in the *.azure/config* file, such as the app name, resource group, and App Service plan.
317
317
318
-
1. Once deployment is complete, refresh the webpage `http://<app-name>.azurewebsites.net` (see [note at top](./includes/regionalization-note.md#dnl-note)). You should see that the `Welcome to Express` message has been changed to `Welcome to Azure!`.
318
+
1. Once deployment is complete, refresh the webpage `http://<app-name>.azurewebsites.net` (see [note at top](#dnl-note)). You should see that the `Welcome to Express` message has been changed to `Welcome to Azure!`.
2. Save your changes, then redeploy the app using your FTP client.
325
325
326
-
1. Once deployment is complete, refresh the webpage `http://<app-name>.azurewebsites.net` (see [note at top](./includes/regionalization-note.md#dnl-note)). You should see that the `Welcome to Express` message has been changed to `Welcome to Azure!`.
326
+
1. Once deployment is complete, refresh the webpage `http://<app-name>.azurewebsites.net` (see [note at top](#dnl-note)). You should see that the `Welcome to Express` message has been changed to `Welcome to Azure!`.
0 commit comments