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: docs/DeploymentGuide.md
+19-4Lines changed: 19 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -233,7 +233,7 @@ The easiest way to run this accelerator is in a VS Code Dev Containers, which wi
233
233
234
234
## Detailed Development Container setup instructions
235
235
236
-
The solution contains a [development container](https://code.visualstudio.com/docs/remote/containers) with all the required tooling to develop and deploy the accelerator. To deploy the Chat With Your Data accelerator using the provided development container you will also need:
236
+
The solution contains a [development container](https://code.visualstudio.com/docs/remote/containers) with all the required tooling to develop and deploy the accelerator. To deploy the Multi-Agent solutions accelerator using the provided development container you will also need:
237
237
238
238
-[Visual Studio Code](https://code.visualstudio.com)
239
239
-[Remote containers extension for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers)
@@ -287,7 +287,7 @@ The files for the dev container are located in `/.devcontainer/` folder.
287
287
288
288
- You can use the Bicep extension for VSCode (Right-click the `.bicep` file, thenselect"Show deployment plan") or use the Azure CLI:
289
289
```bash
290
-
az deployment group create -g <resource-group-name> -f deploy/macae-dev.bicep --query 'properties.outputs'
290
+
az deployment group create -g <resource-group-name> -f infra/main.bicep --query 'properties.outputs'
291
291
```
292
292
- **Note**: You will be prompted for a `principalId`, which is the ObjectID of your user in Entra ID. To find it, use the Azure Portal or run:
293
293
@@ -301,7 +301,7 @@ The files for the dev container are located in `/.devcontainer/` folder.
301
301
302
302
**Role Assignments in Bicep Deployment:**
303
303
304
-
The **macae-dev.bicep** deployment includes the assignment of the appropriate roles to AOAI and Cosmos services. If you want to modify an existing implementation—for example, to use resources deployed as part of the simple deployment for local debugging—you will need to add your own credentials to access the Cosmos and AOAI services. You can add these permissions using the following commands:
304
+
The **main.bicep** deployment includes the assignment of the appropriate roles to AOAI and Cosmos services. If you want to modify an existing implementation—for example, to use resources deployed as part of the simple deployment for local debugging—you will need to add your own credentials to access the Cosmos and AOAI services. You can add these permissions using the following commands:
305
305
306
306
```bash
307
307
az cosmosdb sql role assignment create --resource-group <solution-accelerator-rg> --account-name <cosmos-db-account-name> --role-definition-name "Cosmos DB Built-in Data Contributor" --principal-id <aad-user-object-id> --scope /subscriptions/<subscription-id>/resourceGroups/<solution-accelerator-rg>/providers/Microsoft.DocumentDB/databaseAccounts/<cosmos-db-account-name>
@@ -321,6 +321,10 @@ The files for the dev container are located in `/.devcontainer/` folder.
321
321
5. **Create a `.env` file:**
322
322
323
323
- Navigate to the `src\backend` folder and create a `.env` file based on the provided `.env.sample` file.
324
+
- Update the `.env` file with the required values from your Azure resource group in Azure Portal App Service environment variables.
325
+
- Alternatively, if resources were
326
+
provisioned using `azd provision` or `azd up`, a `.env` file is automatically generated in the `.azure/<env-name>/.env`
327
+
file. To get your `<env-name>` run `azd env list` to see which env is default.
324
328
325
329
6. **Fill in the `.env` file:**
326
330
@@ -338,8 +342,19 @@ The files for the dev container are located in `/.devcontainer/` folder.
338
342
```bash
339
343
pip install -r requirements.txt
340
344
```
345
+
346
+
9. **Build the frontend (important):**
341
347
342
-
9. **Run the application:**
348
+
- Before running the frontend server, you must build the frontend to generate the necessary `build/assets` directory.
Copy file name to clipboardExpand all lines: docs/LocalDeployment.md
+14-3Lines changed: 14 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ The easiest way to run this accelerator is in a VS Code Dev Containers, which wi
20
20
21
21
## Detailed Development Container setup instructions
22
22
23
-
The solution contains a [development container](https://code.visualstudio.com/docs/remote/containers) with all the required tooling to develop and deploy the accelerator. To deploy the Chat With Your Data accelerator using the provided development container you will also need:
23
+
The solution contains a [development container](https://code.visualstudio.com/docs/remote/containers) with all the required tooling to develop and deploy the accelerator. To deploy the Multi Agent Solution accelerator using the provided development container you will also need:
24
24
25
25
*[Visual Studio Code](https://code.visualstudio.com)
26
26
*[Remote containers extension for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers)
@@ -74,7 +74,7 @@ The files for the dev container are located in `/.devcontainer/` folder.
74
74
75
75
- You can use the Bicep extension for VSCode (Right-click the `.bicep` file, thenselect"Show deployment plane") or use the Azure CLI:
76
76
```bash
77
-
az deployment group create -g <resource-group-name> -f deploy/macae-dev.bicep --query 'properties.outputs'
77
+
az deployment group create -g <resource-group-name> -f infra/main.bicep --query 'properties.outputs'
78
78
```
79
79
- **Note**: You will be prompted for a `principalId`, which is the ObjectID of your user in Entra ID. To find it, use the Azure Portal or run:
80
80
```bash
@@ -124,8 +124,19 @@ The files for the dev container are located in `/.devcontainer/` folder.
124
124
```bash
125
125
pip install -r requirements.txt
126
126
```
127
+
128
+
9. **Build the frontend (important):**
129
+
130
+
- Before running the frontend server, you must build the frontend to generate the necessary `build/assets` directory.
0 commit comments