Skip to content

Commit e29d3b8

Browse files
Merge pull request #218253 from cynthn/patch-23
Update cloud-services-nodejs-develop-deploy-express-app.md
2 parents 46a8dfe + aaa9d6f commit e29d3b8

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

articles/cloud-services/cloud-services-nodejs-develop-deploy-express-app.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ ms.custom:
1717
Node.js includes a minimal set of functionality in the core runtime.
1818
Developers often use 3rd party modules to provide additional
1919
functionality when developing a Node.js application. In this tutorial
20-
you will create a new application using the [Express](https://github.com/expressjs/express) module, which provides an MVC framework for creating Node.js web applications.
20+
you'll create a new application using the [Express](https://github.com/expressjs/express) module, which provides an MVC framework for creating Node.js web applications.
2121

2222
A screenshot of the completed application is below:
2323

@@ -26,12 +26,12 @@ A screenshot of the completed application is below:
2626
## Create a Cloud Service Project
2727
[!INCLUDE [install-dev-tools](../../includes/install-dev-tools.md)]
2828

29-
Perform the following steps to create a new cloud service project named 'expressapp':
29+
Perform the following steps to create a new cloud service project named `expressapp`:
3030

3131
1. From the **Start Menu** or **Start Screen**, search for **Windows PowerShell**. Finally, right-click **Windows PowerShell** and select **Run As Administrator**.
3232

3333
![Azure PowerShell icon](./media/cloud-services-nodejs-develop-deploy-express-app/azure-powershell-start.png)
34-
2. Change directories to the **c:\\node** directory and then enter the following commands to create a new solution named **expressapp** and a web role named **WebRole1**:
34+
2. Change directories to the **c:\\node** directory and then enter the following commands to create a new solution named `expressapp` and a web role named **WebRole1**:
3535

3636
```powershell
3737
PS C:\node> New-AzureServiceProject expressapp
@@ -60,7 +60,7 @@ Perform the following steps to create a new cloud service project named 'express
6060
PS C:\node\expressapp\WebRole1> express
6161
```
6262
63-
You will be prompted to overwrite your earlier application. Enter **y** or **yes** to continue. Express will generate the app.js file and a folder structure for building your application.
63+
You'll be prompted to overwrite your earlier application. Enter **y** or **yes** to continue. Express will generate the app.js file and a folder structure for building your application.
6464
6565
![The output of the express command](./media/cloud-services-nodejs-develop-deploy-express-app/node23.png)
6666
3. To install additional dependencies defined in the package.json file,
@@ -90,7 +90,7 @@ Perform the following steps to create a new cloud service project named 'express
9090
var app = require('./app');
9191
```
9292
93-
This change is required since we moved the file (formerly **bin/www**,) to the same directory as the app file being required. After making this change, save the **server.js** file.
93+
This change is required since we moved the file (formerly `bin/www`) to the same directory as the app file being required. After making this change, save the **server.js** file.
9494
6. Use the following command to run the application in the Azure emulator:
9595
9696
```powershell
@@ -111,13 +111,13 @@ Azure".
111111
112112
![The contents of the index.jade file.](./media/cloud-services-nodejs-develop-deploy-express-app/getting-started-19.png)
113113
114-
Jade is the default view engine used by Express applications. For more
115-
information on the Jade view engine, see [http://jade-lang.com][http://jade-lang.com].
114+
Jade is the default view engine used by Express applications.
115+
116116
2. Modify the last line of text by appending **in Azure**.
117117
118118
![The index.jade file, the last line reads: p Welcome to \#{title} in Azure](./media/cloud-services-nodejs-develop-deploy-express-app/node31.png)
119119
3. Save the file and exit Notepad.
120-
4. Refresh your browser and you will see your changes.
120+
4. Refresh your browser and you'll see your changes.
121121
122122
![A browser window, the page contains Welcome to Express in Azure](./media/cloud-services-nodejs-develop-deploy-express-app/node32.png)
123123
@@ -139,4 +139,4 @@ For more information, see the [Node.js Developer Center](/azure/developer/javasc
139139

140140
[Node.js Web Application]: https://www.windowsazure.com/develop/nodejs/tutorials/getting-started/
141141
[Express]: https://expressjs.com/
142-
[http://jade-lang.com]: http://jade-lang.com
142+
[http://jade-lang.com]: http://jade-lang.com

0 commit comments

Comments
 (0)