Skip to content

Commit f899197

Browse files
authored
Update chat-hero-sample.md
1 parent ae6ffb3 commit f899197

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

articles/communication-services/samples/chat-hero-sample.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -55,29 +55,25 @@ Below you'll find more information on prerequisites and steps to set up the samp
5555
- Create an Azure account with an active subscription. For details, see [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
5656
- Create an Azure Communication Services resource. For details, see [Create an Azure Communication Resource](../quickstarts/create-communication-resource.md). You'll need to record your resource **connection string** for this quickstart.
5757

58-
## Locally deploying the service & client app
59-
60-
The single threaded chat sample is essentially two "applications" a client and server application.
61-
62-
Follow the instruction from [Local run](./chat-hero-sample.md#local-run), this will start up the chat front end service. When the server app is visited
63-
from the browser, it will redirect traffic towards the locally deployed chat front end service.
64-
65-
You can test the sample locally by opening multiple browser sessions with the URL of your chat to simulate a multi-user chat.
66-
6758
## Before running the sample for the first time
6859

6960
1. Open an instance of PowerShell, Windows Terminal, Command Prompt or equivalent and navigate to the directory that you'd like to clone the sample to.
7061
2. `git clone https://github.com/Azure-Samples/communication-services-web-chat-hero.git`
7162
3. Get the `Connection String` and `Endpoint URL` from the Azure portal. For more information on connection strings, see [Create an Azure Communication Services resources](../quickstarts/create-communication-resource.md)
7263
4. Once you get the `Connection String` and `Endpoint URL`, Add both values to the **Server/appsettings.json** file found under the Chat Hero Sample folder. Input your connection string in the variable: `ResourceConnectionString` and endpoint URL in the variable: `EndpointUrl`.
7364

74-
### Local run
65+
## Local run
7566

7667
1. Set your connection string in `Server/appsettings.json`
7768
2. Set your endpoint URL string in `Server/appsettings.json`
7869
3. `npm run setup` from the root directory
7970
4. `npm run start` from the root directory
8071

72+
The single threaded chat sample is essentially two "applications" a client and server application. When the server app is visited
73+
from the browser, it will redirect traffic towards the locally deployed chat front end service.
74+
75+
You can test the sample locally by opening multiple browser sessions with the URL of your chat to simulate a multi-user chat.
76+
8177
## Publish the sample to Azure
8278

8379
1. Under the root director, run these commands:

0 commit comments

Comments
 (0)