Skip to content

Commit 6da0ca0

Browse files
committed
screenshots
1 parent 9b9d066 commit 6da0ca0

File tree

1 file changed

+52
-43
lines changed

1 file changed

+52
-43
lines changed

articles/app-service/quickstart-nodejs.md

Lines changed: 52 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ This quickstart configures an App Service app in the **Free** tier and incurs no
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).
4242
- Install [Node.js and npm](https://nodejs.org). Run the command `node --version` to verify that Node.js is installed.
43-
- Have a FTP client (for example, [Visual Studio](https://www.visualstudio.com/vs/community/), [Cyberduck](https://cyberduck.io/), or [WinSCP](https://winscp.net/index.php)), to connect to your app.
43+
- Have a FTP client (for example, [FileZilla)(https://filezilla-project.org)), to connect to your app.
4444

4545
::: zone-end
4646
## Create your Node.js application locally
@@ -77,41 +77,7 @@ In this step, you create a starter Node.js application and make sure it runs on
7777
> [!div class="nextstepaction"]
7878
> [I ran into an issue](https://www.research.net/r/PWZWZ52?tutorial=node-deployment-azure-app-service&step=create-app)
7979
::: zone-end
80-
:::zone target="docs" pivot="development-environment-azure-portal"
81-
## Create App Service Node.js app
82-
83-
### Sign in to Azure
84-
85-
Sign in to the Azure portal at https://portal.azure.com.
86-
87-
### Create app
88-
89-
1. Type **app services** in the search.
90-
1. Under **Services**, select **App Service**.
91-
1. In the **App Services** page, select **Create**.
92-
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.
93-
94-
:::image type="content" source="./media/quickstart-nodejs/project-details.png" alt-text="Screenshot of the Project details section showing where you select the Azure subscription and the resource group for the web app":::
95-
96-
1. Under **Instance details**, type a globally unique name for your web app and select **Code**. Choose *Node 14 LTS* **Runtime stack**, an **Operating System**, and a **Region** you want to serve your app from.
97-
98-
:::image type="content" source="./media/quickstart-nodejs/instance-details.png" alt-text="Screenshot of the Instance details section where you provide a name for the virtual machine and select its region, image and size":::
99-
100-
1. Under **App Service Plan**, choose to **Create new** App Service Plan. Type *myAppServicePlan* for the name.
10180
102-
:::image type="content" source="./media/quickstart-nodejs/app-service-plan-details.png" alt-text="Screenshot of the Administrator account section where you provide the administrator username and password":::
103-
104-
1. Select the **Review + create** button at the bottom of the page.
105-
106-
:::image type="content" source="./media/quickstart-nodejs/review-create.png" alt-text="Screenshot showing the Review and create button at the bottom of the page":::
107-
108-
1. After validation runs, select the **Create** button at the bottom of the page.
109-
110-
1. After deployment is complete, select **Go to resource**.
111-
112-
:::image type="content" source="./media/quickstart-nodejs/next-steps.png" alt-text="Screenshot showing the next step of going to the resource":::
113-
114-
::: zone-end
11581
## Deploy to Azure
11682
11783
Before you continue, ensure that you have all the prerequisites installed and configured.
@@ -255,15 +221,45 @@ You can launch the app at http://<app-name>.azurewebsites.net
255221
::: zone-end
256222
257223
:::zone target="docs" pivot="development-environment-azure-portal"
224+
### Sign in to Azure portal
225+
226+
Sign in to the Azure portal at https://portal.azure.com.
258227
259-
This section shows you how to use FTP or FTPS to deploy your web app.
228+
### Create Azure resources
260229
261-
The FTP/S endpoint for your app is already active. No configuration is necessary to enable FTP/S deployment.
230+
1. Type **app services** in the search. Under **Services**, select **App Service**.
262231
263-
### Get deployment credentials
232+
:::image type="content" source="https://via.placeholder.com/794x200.png?text=Azure portal search details" alt-text="Screenshot of portal search":::
233+
234+
1. In the **App Services** page, select **Create**.
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.
236+
237+
:::image type="content" source="./media/quickstart-nodejs/project-details.png" alt-text="Screenshot of the Project details section showing where you select the Azure subscription and the resource group for the web app":::
238+
239+
1. Under **Instance details**, type a globally unique name for your web app and select **Code**. Choose *Node 14 LTS* **Runtime stack**, an **Operating System**, and a **Region** you want to serve your app from.
240+
241+
:::image type="content" source="./media/quickstart-nodejs/instance-details.png" alt-text="Screenshot of the Instance details section where you provide a name for the virtual machine and select its region, image and size":::
242+
243+
1. Under **App Service Plan**, choose to **Create new** App Service Plan. Type *myAppServicePlan* for the name.
244+
245+
:::image type="content" source="./media/quickstart-nodejs/app-service-plan-details.png" alt-text="Screenshot of the Administrator account section where you provide the administrator username and password":::
246+
247+
1. Select the **Review + create** button at the bottom of the page.
248+
249+
:::image type="content" source="./media/quickstart-nodejs/review-create.png" alt-text="Screenshot showing the Review and create button at the bottom of the page":::
250+
251+
1. After validation runs, select the **Create** button at the bottom of the page.
252+
253+
1. After deployment is complete, select **Go to resource**.
254+
255+
:::image type="content" source="./media/quickstart-nodejs/next-steps.png" alt-text="Screenshot showing the next step of going to the resource":::
256+
257+
### Deploy files with FTP
264258
265259
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.
266260
261+
:::image type="content" source="https://via.placeholder.com/794x200.png?text=FTP connection details" alt-text="FTP connection details":::
262+
267263
1. Craft the FTP username in the following format, depending on your choice of credential scope:
268264
269265
| Application-scope | User-scope |
@@ -280,9 +276,12 @@ In the same management page for your app where you copied the deployment credent
280276

281277
### Deploy files to Azure
282278

283-
1. From your FTP client (for example, [Visual Studio](https://www.visualstudio.com/vs/community/), [Cyberduck](https://cyberduck.io/), or [WinSCP](https://winscp.net/index.php)), use the connection information you gathered to connect to your app.
284-
2. 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.
285-
3. Browse to your app's URL to verify the app is running properly.
279+
1. From your FTP client (for example, [FileZilla](https://www.filezilla-project.org/), use the connection information you gathered to connect to your app.
280+
281+
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.
282+
:::image type="content" source="https://via.placeholder.com/794x200.png?text=Copy files and structure" alt-text="Copy files and structure":::
283+
284+
1. Browse to your app's URL to verify the app is running properly.
286285
287286
::: zone-end
288287
## Redeploy updates
@@ -380,7 +379,11 @@ To stop log streaming at any time, press **Ctrl**+**C** in the terminal.
380379
381380
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.
382381
383-
1. On the **App Service** page for your app, click **Log stream**.
382+
1. Go to the **App Service** page for your app.
383+
384+
:::image type="content" source="https://via.placeholder.com/794x200.png?text=App service page" alt-text="App Service page":::
385+
386+
1. Scroll to the *Monitoring* section and click **Log stream**.
384387
385388
:::image type="content" source="./media/quickstart-nodejs/log-stream.png" alt-text="Screenshot of Log stream in Azure App service.":::
386389
@@ -446,7 +449,13 @@ The `--no-wait` argument allows the command to return before the operation is co
446449
447450
When no longer needed, you can delete the resource group, App service, and all related resources.
448451
449-
Go to the resource group for the App Service, then select Delete resource group. Confirm the name of the resource group to finish deleting the resources.
452+
1. In the search, type *myResourceGroup*.
453+
454+
:::image type="content" source="https://via.placeholder.com/794x200.png?text=App service page" alt-text="App Service page":::
455+
456+
1. Go to the resource group, then select Delete resource group. Confirm the name of the resource group to finish deleting the resources.
457+
458+
:::image type="content" source="https://via.placeholder.com/794x200.png?text=Delete resources" alt-text="Delete resources":::
450459
451460
::: zone-end
452461

0 commit comments

Comments
 (0)