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
|`AZURE_ENV_NAME`| string |`macae`| Used as a prefix for all resource names to ensure uniqueness across environments. |
12
-
|`AZURE_LOCATION`| string |`swedencentral`| Location of the Azure resources. Controls where the infrastructure will be deployed. |
13
-
|`AZURE_ENV_OPENAI_LOCATION`| string |`swedencentral`| Specifies the region for OpenAI resource deployment. |
12
+
|`AZURE_LOCATION`| string |`<User selects during deployment>`| Location of the Azure resources. Controls where the infrastructure will be deployed. |
13
+
|`AZURE_ENV_OPENAI_LOCATION`| string |`<User selects during deployment>`| Specifies the region for OpenAI resource deployment. |
14
14
|`AZURE_ENV_MODEL_DEPLOYMENT_TYPE`| string |`GlobalStandard`| Defines the deployment type for the AI model (e.g., Standard, GlobalStandard). |
15
15
|`AZURE_ENV_MODEL_NAME`| string |`gpt-4o`| Specifies the name of the GPT model to be deployed. |
16
16
|`AZURE_ENV_FOUNDRY_PROJECT_ID`| string |`<Existing Workspace Id>`| Set this if you want to reuse an AI Foundry Project instead of creating a new one. |
Copy file name to clipboardExpand all lines: docs/DeploymentGuide.md
+21-5Lines changed: 21 additions & 5 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>
@@ -320,11 +320,16 @@ The files for the dev container are located in `/.devcontainer/` folder.
320
320
321
321
5. **Create a `.env` file:**
322
322
323
-
- Navigate to the `src` folder and create a `.env` file based on the provided `.env.sample` file.
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
327
331
- Use the output from the deployment or check the Azure Portal under "Deployments" in the resource group.
332
+
- Make sure to set APP_ENV to "**dev**" in `.env` file.
328
333
329
334
7. **(Optional) Set up a virtual environment:**
330
335
@@ -337,8 +342,19 @@ The files for the dev container are located in `/.devcontainer/` folder.
337
342
```bash
338
343
pip install -r requirements.txt
339
344
```
345
+
346
+
9. **Build the frontend (important):**
340
347
341
-
9. **Run the application:**
348
+
- Before running the frontend server, you must build the frontend to generate the necessary `build/assets` directory.
0 commit comments