Skip to content

Commit 9710f13

Browse files
committed
updates
1 parent 41e8704 commit 9710f13

File tree

7 files changed

+14
-29
lines changed

7 files changed

+14
-29
lines changed
26.5 KB
Loading
10.7 KB
Loading
26.2 KB
Loading
39.3 KB
Loading
36.4 KB
Loading
30.9 KB
Loading

articles/app-service/quickstart-nodejs.md

Lines changed: 14 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -227,9 +227,9 @@ Sign in to the Azure portal at https://portal.azure.com.
227227
228228
### Create Azure resources
229229
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**.
231231
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":::
233233
234234
1. In the **App Services** page, select **Create**.
235235
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.
254254
255255
:::image type="content" source="./media/quickstart-nodejs/next-steps.png" alt-text="Screenshot showing the next step of going to the resource":::
256256
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.
260-
261-
:::image type="content" source="https://via.placeholder.com/794x200.png?text=FTP connection details" alt-text="FTP connection details":::
262-
263-
1. Craft the FTP username in the following format, depending on your choice of credential scope:
257+
### Get FTP credentials
264258
265-
| Application-scope | User-scope |
266-
| - | - |
267-
|`<app-name>\$<app-name>`|`<app-name>\<deployment-user>`|
259+
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.
268260
269-
---
261+
:::image type="content" source="./media/quickstart-nodejs/ftps-deployment-credentials.png" alt-text="FTPS deployment credentials":::
270262
271-
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
274264
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.
276266
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.
267+
:::image type="content" source="./media/quickstart-nodejs/filezilla-ftps-connection.png" alt-text="FTPS connection details":::
278268
279-
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.
281270
282271
1. Browse to your app's URL to verify the app is running properly.
283272

@@ -336,9 +325,9 @@ You can stream log output (calls to `console.log()`) from the Azure app directly
336325
337326
1. In the **App Service** explorer, right-click the app node and choose **Start Streaming Logs**.
338327
339-
![Start Streaming Logs](media/quickstart-nodejs/view-logs.png)
328+
![Start Streaming Logs](./media/quickstart-nodejs/view-logs.png)
340329
341-
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.
342331
343332
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.
344333
@@ -377,11 +366,7 @@ To stop log streaming at any time, press **Ctrl**+**C** in the terminal.
377366
378367
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.
379368
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**.
385370
386371
:::image type="content" source="./media/quickstart-nodejs/log-stream.png" alt-text="Screenshot of Log stream in Azure App service.":::
387372
@@ -449,11 +434,11 @@ When no longer needed, you can delete the resource group, App service, and all r
449434
450435
1. In the search, type *myResourceGroup* (or the resource group you chose in the [Create Azure resources](#create-azure-resources) step.
451436
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":::
453438
454439
1. Go to the resource group, then select Delete resource group. Confirm the name of the resource group to finish deleting the resources.
455440
456-
:::image type="content" source="https://via.placeholder.com/794x200.png?text=Delete resources" alt-text="Delete resources":::
441+
:::image type="content" source="./media/quickstart-nodejs/delete-resource-group.png" alt-text="Delete resource group":::
457442
458443
::: zone-end
459444

0 commit comments

Comments
 (0)