From c60faf57dadff4aacf3aa0539ad2fdc99f888a79 Mon Sep 17 00:00:00 2001 From: UtkarshMishra-Microsoft Date: Fri, 22 Aug 2025 13:36:16 +0530 Subject: [PATCH 1/2] UpdatedLocaldocs --- docs/DeploymentGuide.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/DeploymentGuide.md b/docs/DeploymentGuide.md index ea0b1814..0ab55fb2 100644 --- a/docs/DeploymentGuide.md +++ b/docs/DeploymentGuide.md @@ -334,6 +334,7 @@ The files for the dev container are located in `/.devcontainer/` folder. - Use the output from the deployment or check the Azure Portal under "Deployments" in the resource group. - Make sure to set APP_ENV to "**dev**" in `.env` file. + - When you run `azd provision` or `azd up`, a `.env` file is generated at `.azure//.env` (you can check the default environment using `azd env list`). Copy the contents of this file into your backend `.env` file. Additionally, for local development, make sure to include `BACKEND_API_URL=http://localhost:8000` and `FRONTEND_SITE_NAME=http://127.0.0.1:3000` in the `.env`. 7. **(Optional) Set up a virtual environment:** From 754a441b992939acda0796c5c6a8e2556c451563 Mon Sep 17 00:00:00 2001 From: Roopan-Microsoft <168007406+Roopan-Microsoft@users.noreply.github.com> Date: Fri, 22 Aug 2025 15:09:16 +0530 Subject: [PATCH 2/2] Update DeploymentGuide.md --- docs/DeploymentGuide.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/DeploymentGuide.md b/docs/DeploymentGuide.md index 0ab55fb2..fb4fca41 100644 --- a/docs/DeploymentGuide.md +++ b/docs/DeploymentGuide.md @@ -328,13 +328,17 @@ The files for the dev container are located in `/.devcontainer/` folder. - Update the `.env` file with the required values from your Azure resource group in Azure Portal App Service environment variables. - Alternatively, if resources were provisioned using `azd provision` or `azd up`, a `.env` file is automatically generated in the `.azure//.env` - file. To get your `` run `azd env list` to see which env is default. + file. You can copy the contents of this file into your backend `.env` file. + + _**Note**: To get your `` run `azd env list` to see which env is default._ 6. **Fill in the `.env` file:** - Use the output from the deployment or check the Azure Portal under "Deployments" in the resource group. - Make sure to set APP_ENV to "**dev**" in `.env` file. - - When you run `azd provision` or `azd up`, a `.env` file is generated at `.azure//.env` (you can check the default environment using `azd env list`). Copy the contents of this file into your backend `.env` file. Additionally, for local development, make sure to include `BACKEND_API_URL=http://localhost:8000` and `FRONTEND_SITE_NAME=http://127.0.0.1:3000` in the `.env`. + - For local development, make sure to include below env variables in the `.env` + - `BACKEND_API_URL=http://localhost:8000` + - `FRONTEND_SITE_NAME=http://127.0.0.1:3000` . 7. **(Optional) Set up a virtual environment:**