Skip to content

Commit 422ae89

Browse files
committed
App Service - JS quickstart - replace PUG w/EJS
1 parent d5c7a4e commit 422ae89

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

articles/app-service/quickstart-nodejs.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: 'Quickstart: Create a Node.js web app'
33
description: Deploy your first Node.js Hello World to Azure App Service in minutes.
44
ms.assetid: 582bb3c2-164b-42f5-b081-95bfcb7a502a
55
ms.topic: quickstart
6-
ms.date: 09/14/2021
6+
ms.date: 03/10/2022
77
ms.devlang: javascript
88
ms.custom: mvc, devcenter, seodec18, mode-api
99
#zone_pivot_groups: app-service-ide-oss
@@ -30,7 +30,7 @@ This quickstart configures an App Service app in the **Free** tier and incurs no
3030
:::zone target="docs" pivot="development-environment-cli"
3131

3232
- Have an Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?utm_source=campaign&utm_campaign=vscode-tutorial-app-service-extension&mktingSource=vscode-tutorial-app-service-extension).
33-
- Install [Node.js and npm](https://nodejs.org). Run the command `node --version` to verify that Node.js is installed.
33+
- Install [Node.js LTS and npm](https://nodejs.org). Run the command `node --version` to verify that Node.js is installed.
3434
- Install <a href="/cli/azure/install-azure-cli" target="_blank">Azure CLI</a>, with which you run commands in any shell to provision and configure Azure resources.
3535

3636
::: zone-end
@@ -39,7 +39,7 @@ This quickstart configures an App Service app in the **Free** tier and incurs no
3939
:::zone target="docs" pivot="development-environment-azure-portal"
4040

4141
- Have an Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?utm_source=campaign&utm_campaign=vscode-tutorial-app-service-extension&mktingSource=vscode-tutorial-app-service-extension).
42-
- Install [Node.js and npm](https://nodejs.org). Run the command `node --version` to verify that Node.js is installed.
42+
- Install [Node.js LTS and npm](https://nodejs.org). Run the command `node --version` to verify that Node.js is installed.
4343
- Have a FTP client (for example, [FileZilla](https://filezilla-project.org)), to connect to your app.
4444

4545
::: zone-end
@@ -53,14 +53,13 @@ In this step, you create a starter Node.js application and make sure it runs on
5353
1. Create a simple Node.js application using the [Express Generator](https://expressjs.com/starter/generator.html), which is installed by default with Node.js and NPM.
5454

5555
```bash
56-
npx express-generator myExpressApp --view pug
56+
npx express-generator myExpressApp --view ejs
5757
```
5858

5959
1. Change to the application's directory and install the NPM packages.
6060
6161
```bash
62-
cd myExpressApp
63-
npm install
62+
cd myExpressApp && npm install
6463
```
6564
6665
1. Start the development server.
@@ -285,14 +284,14 @@ You can deploy changes to this app by making edits in Visual Studio Code, saving
285284

286285
1. From the sample project, open *views/index.pug* and change
287286

288-
```PUG
289-
p Welcome to #{title}
287+
```html
288+
<p>Welcome to <%= title %></p>
290289
```
291290

292291
to
293292

294-
```PUG
295-
p Welcome to Azure!
293+
```html
294+
<p>Welcome to Azure</p>
296295
```
297296

298297
:::zone target="docs" pivot="development-environment-vscode"

0 commit comments

Comments
 (0)