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
Write-Host "`nRun the following command in your Bash terminal. It will grant the necessary permissions between resources and your user account, and also process and load the sample data into the application."
echo "Run the following command in your Bash terminal. It will grant the necessary permissions between resources and your user account, and also process and load the sample data into the application."
Copy file name to clipboardExpand all lines: documents/CustomizeData.md
+17-8Lines changed: 17 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,15 +14,24 @@ If you would like to update the solution to leverage your own data please follow
14
14
> **Note for WAF-aligned deployments:** If your deployment uses private networking, you'll need to log into a VM within the virtual network to upload files. See [VM login instructions](#how-to-login-to-vm-using-azure-bastion) below.
15
15
16
16
3. If you have audio files, upload them to `custom_audiodata` folder. If you have call transcript files, upload them to `custom_transcripts` folder.
17
-
4. Navigate to the terminal and run the `run_process_data_scripts.sh` to process the new data into the solution with the following commands.
4. Navigate to the terminal and run the `process_custom_data.sh` script to process the new data into the solution with the following commands:
18
+
19
+
```bash
20
+
bash ./infra/scripts/process_custom_data.sh
21
+
```
22
+
23
+
If you don't have `azd env` then you need to pass parameters along with the command. Parameters are grouped by service for clarity. The command will look like the following:
Copy file name to clipboardExpand all lines: documents/DeploymentGuide.md
+24-4Lines changed: 24 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -147,9 +147,10 @@ If you're not using one of the above options for opening the project, then you'l
147
147
1. Make sure the following tools are installed:
148
148
- [PowerShell](https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell?view=powershell-7.5) <small>(v7.0+)</small> - available for Windows, macOS, and Linux.
149
149
- [Azure Developer CLI (azd)](https://aka.ms/install-azd) <small>(v1.18.0+)</small> - version
- [Microsoft ODBC Driver 18](https://learn.microsoft.com/en-us/sql/connect/odbc/download-odbc-driver-for-sql-server?view=sql-server-ver16) for SQL Server.
153
154
154
155
2. Clone the repository or download the project code via command-line:
155
156
@@ -244,12 +245,31 @@ Once you've opened the project in [Codespaces](#github-codespaces), [Dev Contain
244
245
245
246
3. Provide an `azd` environment name (e.g., "ckmapp").
246
247
4. Select a subscription from your Azure account and choose a location that has quota for all the resources.
247
-
-- This deployment will take *7-10 minutes* to provision the resources in your account and set up the solution with sample data.
248
+
- This deployment generally takes **7-10 minutes** to provision the resources in your account and set up the solution.
248
249
- If you encounter an error or timeout during deployment, changing the location may help, as there could be availability constraints for the resources.
249
250
250
-
5. Once the deployment has completed successfully, open the [Azure Portal](https://portal.azure.com/), go to the deployed resource group, find the App Service, and get the app URL from `Default domain`.
251
+
5. Once the deployment has completed successfully and you would like to use the **sample data**, please open a **Git Bash terminal** and run the bash command printed below. The bash command will look like the following:
251
252
252
-
6. If you are done trying out the application, you can delete the resources by running `azd down`.
253
+
```bash
254
+
bash ./infra/scripts/process_sample_data.sh
255
+
```
256
+
257
+
If you don't have `azd env`then you need to pass parameters along with the command. Parameters are grouped by service for clarity. The command will look like the following:
6. Once the deployment has completed successfully, open the [Azure Portal](https://portal.azure.com/), go to the deployed resource group, find the App Service, and get the app URL from `Default domain`.
271
+
272
+
7. You can now delete the resources by running `azd down`, if you are done trying out the application.
253
273
>**Note:** If you deployed with `enableRedundancy=true` and Log Analytics workspace replication is enabled, you must first disable replication before running `azd down`else resource group delete will fail. Follow the steps in [Handling Log Analytics Workspace Deletion with Replication Enabled](./LogAnalyticsReplicationDisable.md), waituntil replication returns `false`, then run `azd down`.
0 commit comments