Skip to content

Commit 1166aa8

Browse files
Merge pull request #644 from microsoft/main
chore: Down merge from main to dev
2 parents 2f89864 + 3d47f21 commit 1166aa8

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/DeploymentGuide.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,3 +235,13 @@ This will rebuild the source code, package it into a container, and push it to t
235235
3. **Deleting Resources After a Failed Deployment**
236236

237237
- Follow steps in [Delete Resource Group](DeleteResourceGroup.md) if your deployment fails and/or you need to clean up the resources.
238+
239+
## Environment configuration for local development & debugging
240+
> 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**.
241+
242+
To configure your environment, follow these steps:
243+
244+
1. Navigate to the `src\App` folder.
245+
2. Create a `.env` file based on the `.env.sample` file.
246+
3. Fill in the `.env` file using the deployment output or by retrieving values from the Azure Portal under "Deployments" in your resource group.
247+
4. Ensure that the `APP_ENV` variable is set to "**dev**".

0 commit comments

Comments
 (0)