From a8cbbb21d8346da49d086787131a8be1107ce5bf Mon Sep 17 00:00:00 2001 From: Atulku-Microsoft Date: Thu, 7 Aug 2025 14:19:50 +0530 Subject: [PATCH 1/3] Update DeploymentGuide.md --- docs/DeploymentGuide.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/DeploymentGuide.md b/docs/DeploymentGuide.md index ae1277834..0589a8b5e 100644 --- a/docs/DeploymentGuide.md +++ b/docs/DeploymentGuide.md @@ -193,6 +193,9 @@ Once you've opened the project in [Codespaces](#github-codespaces), [Dev Contain 2. **Deleting Resources After a Failed Deployment** - Follow steps in [Delete Resource Group](./DeleteResourceGroup.md) if your deployment fails and/or you need to clean up the resources. +## For local Debugging + +To configure your environment, navigate to the `src` folder to create a `.env` file based on the `.env.sample`, fill it using deployment output or the Azure Portal under "Deployments" in your resource group, and ensure APP_ENV is set to "**dev**". ## Next Steps Now that you've completed your deployment, you can start using the solution. From 0f730cb25a364c54ef0b96ae59f42e5e02321e7a Mon Sep 17 00:00:00 2001 From: Prajwal-Microsoft Date: Mon, 11 Aug 2025 19:42:34 +0530 Subject: [PATCH 2/3] Update DeploymentGuide.md for local development & debugging instructions --- docs/DeploymentGuide.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/DeploymentGuide.md b/docs/DeploymentGuide.md index 0589a8b5e..4b2464708 100644 --- a/docs/DeploymentGuide.md +++ b/docs/DeploymentGuide.md @@ -193,9 +193,14 @@ Once you've opened the project in [Codespaces](#github-codespaces), [Dev Contain 2. **Deleting Resources After a Failed Deployment** - Follow steps in [Delete Resource Group](./DeleteResourceGroup.md) if your deployment fails and/or you need to clean up the resources. -## For local Debugging -To configure your environment, navigate to the `src` folder to create a `.env` file based on the `.env.sample`, fill it using deployment output or the Azure Portal under "Deployments" in your resource group, and ensure APP_ENV is set to "**dev**". +## Environment configuration for local development & debugging +> Set APP_ENV in your .env file to control Azure authentication. Use dev to enable to use Azure CLI credential, Prod to enable Managed Identity (for production). **Ensure you're logged in via az login when using dev in local**. +To configure your environment, follow these steps: +1. Navigate to the `src` folder. +2. Create a `.env` file based on the `.env.sample` file. +3. Fill in the `.env` file using the deployment output or by checking the Azure Portal under "Deployments" in your resource group. +4. Ensure that `APP_ENV` is set to "**dev**" in your `.env` file. ## Next Steps Now that you've completed your deployment, you can start using the solution. From ebf5fabfb67d415a52902b2571c6f52c9e0e9dea Mon Sep 17 00:00:00 2001 From: Prajwal-Microsoft Date: Mon, 11 Aug 2025 21:30:43 +0530 Subject: [PATCH 3/3] Update DeploymentGuide.md for local development & debugging instructions --- docs/DeploymentGuide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/DeploymentGuide.md b/docs/DeploymentGuide.md index 4b2464708..cb9d0789a 100644 --- a/docs/DeploymentGuide.md +++ b/docs/DeploymentGuide.md @@ -195,7 +195,7 @@ Once you've opened the project in [Codespaces](#github-codespaces), [Dev Contain - Follow steps in [Delete Resource Group](./DeleteResourceGroup.md) if your deployment fails and/or you need to clean up the resources. ## Environment configuration for local development & debugging -> Set APP_ENV in your .env file to control Azure authentication. Use dev to enable to use Azure CLI credential, Prod to enable Managed Identity (for production). **Ensure you're logged in via az login when using dev in local**. +> Set APP_ENV in your .env file to control Azure authentication. Set the environment variable to dev to use Azure CLI credentials, or to prod to use Managed Identity for production. **Ensure you're logged in via az login when using dev in local**. To configure your environment, follow these steps: 1. Navigate to the `src` folder. 2. Create a `.env` file based on the `.env.sample` file.