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
+14-29Lines changed: 14 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -227,9 +227,9 @@ Sign in to the Azure portal at https://portal.azure.com.
227
227
228
228
### Create Azure resources
229
229
230
-
1. Type **app services** in the search. Under **Services**, select **App Service**.
230
+
1. Type **app services** in the search. Under **Services**, select **App Services**.
231
231
232
-
:::image type="content" source="https://via.placeholder.com/794x200.png?text=Azure portal search details" alt-text="Screenshot of portal search":::
232
+
:::image type="content" source="./media/quickstart-nodejs/portal-search.png?text=Azure portal search details" alt-text="Screenshot of portal search":::
233
233
234
234
1. In the **App Services** page, select **Create**.
235
235
1. In the **Basics** tab, under **Project details**, make sure the correct subscription is selected and then choose to **Create new** resource group. Type *myResourceGroup* for the name.
@@ -254,30 +254,19 @@ Sign in to the Azure portal at https://portal.azure.com.
254
254
255
255
:::image type="content" source="./media/quickstart-nodejs/next-steps.png" alt-text="Screenshot showing the next step of going to the resource":::
256
256
257
-
### Deploy files with FTP
258
-
259
-
1. Follow the instructions at [Configure deployment credentials for Azure App Service](deploy-configure-credentials.md) to copy the application-scope credentials or set the user-scope credentials. You can connect to the FTP/S endpoint of your app using either credentials.
1. Azure App Service supports [two types of credentials](deploy-configure-credentials.md) for FTP/S deployment. These credentials are not the same as your Azure subscription credentials. In this section, you get the application-scope credentials to use with FileZilla.
In App Service, the FTP/S endpoint is shared among apps. Because the user-scope credentials aren't linked to a specific resource, you need to prepend the user-scope username with the app name as shown above.
272
-
273
-
1. In the same management page for your app where you copied the deployment credentials (**Deployment Center**>**FTP Credentials**), copy the **FTPS endpoint**.
263
+
### Deploy files with FTP
274
264
275
-
### Deploy files to Azure
265
+
1. From your FTP client (for example, [FileZilla](https://www.filezilla-project.org/)), use the connection information you gathered to connect to your app.
276
266
277
-
1. From your FTP client (for example, [FileZilla](https://www.filezilla-project.org/), use the connection information you gathered to connect to your app.
1. Copy your files and their respective directory structure to the [**/site/wwwroot** directory](https://github.com/projectkudu/kudu/wiki/File-structure-on-azure) in Azure.
280
-
:::image type="content" source="https://via.placeholder.com/794x200.png?text=Copy files and structure" alt-text="Copy files and structure":::
269
+
1. Copy your files to the [**/site/wwwroot** directory](https://github.com/projectkudu/kudu/wiki/File-structure-on-azure) in Azure.
281
270
282
271
1. Browse to your app's URL to verify the app is running properly.
283
272
@@ -336,9 +325,9 @@ You can stream log output (calls to `console.log()`) from the Azure app directly
336
325
337
326
1. In the **App Service** explorer, right-click the app node and choose **Start Streaming Logs**.
1. If asked to restart the app, click **Yes**. Once the app is restarted, the Visual Studio Code output window opens with a connection to the log stream.
330
+
1. If asked to restart the app, click **Yes**. Once the app is restarted, the Visual Studio Code output window opens with a connection to the log stream.
342
331
343
332
1. After a few seconds, the output window shows a message indicating that you're connected to the log-streaming service. You can generate more output activity by refreshing the page in the browser.
344
333
@@ -377,11 +366,7 @@ To stop log streaming at any time, press **Ctrl**+**C** in the terminal.
377
366
378
367
You can access the console logs generated from inside the app and the container in which it runs. You can stream log output (calls to `console.log()`) from the Node.js app directly in the Azure portal.
379
368
380
-
1. Go to the **App Service** page for your app.
381
-
382
-
:::image type="content" source="https://via.placeholder.com/794x200.png?text=App service page" alt-text="App Service page":::
383
-
384
-
1. Scroll to the *Monitoring* section and click **Log stream**.
369
+
1. In the same **App Service** page for your app, use the left menu to scroll to the *Monitoring* section and click **Log stream**.
385
370
386
371
:::image type="content" source="./media/quickstart-nodejs/log-stream.png" alt-text="Screenshot of Log stream in Azure App service.":::
387
372
@@ -449,11 +434,11 @@ When no longer needed, you can delete the resource group, App service, and all r
449
434
450
435
1. In the search, type*myResourceGroup* (or the resource group you chose in the [Create Azure resources](#create-azure-resources) step.
451
436
452
-
:::image type="content" source="https://via.placeholder.com/794x200.png?text=App service page" alt-text="App Service page":::
437
+
:::image type="content" source="./media/quickstart-nodejs/resource-group.png" alt-text="Resource group in App Service overview page":::
453
438
454
439
1. Go to the resource group, thenselectDelete resource group. Confirm the name of the resource group to finish deleting the resources.
0 commit comments