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/cloud-services/cloud-services-nodejs-develop-deploy-express-app.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ ms.custom:
17
17
Node.js includes a minimal set of functionality in the core runtime.
18
18
Developers often use 3rd party modules to provide additional
19
19
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.
21
21
22
22
A screenshot of the completed application is below:
23
23
@@ -26,12 +26,12 @@ A screenshot of the completed application is below:
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`:
30
30
31
31
1. From the **Start Menu** or **Start Screen**, search for **Windows PowerShell**. Finally, right-click **Windows PowerShell** and select **Run As Administrator**.
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**:
35
35
36
36
```powershell
37
37
PS C:\node> New-AzureServiceProject expressapp
@@ -60,7 +60,7 @@ Perform the following steps to create a new cloud service project named 'express
60
60
PS C:\node\expressapp\WebRole1> express
61
61
```
62
62
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.
64
64
65
65

66
66
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
90
90
var app = require('./app');
91
91
```
92
92
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.
94
94
6. Use the following command to run the application in the Azure emulator:
95
95
96
96
```powershell
@@ -111,13 +111,13 @@ Azure".
111
111
112
112

113
113
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
+
116
116
2. Modify the last line of text by appending **in Azure**.
117
117
118
118

119
119
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.
121
121
122
122

123
123
@@ -139,4 +139,4 @@ For more information, see the [Node.js Developer Center](/azure/developer/javasc
139
139
140
140
[Node.js Web Application]: https://www.windowsazure.com/develop/nodejs/tutorials/getting-started/
0 commit comments