Skip to content

Commit eea6d8c

Browse files
Merge pull request #565 from microsoft/main
chore: Down merge from main to dev
2 parents 64a0a52 + 5f1d4ab commit eea6d8c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

documents/DeploymentGuide.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,14 @@ Once you've opened the project in [Codespaces](#github-codespaces), [Dev Contain
194194
2. **Deleting Resources After a Failed Deployment**
195195
196196
- Follow steps in [Delete Resource Group](./DeleteResourceGroup.md) if your deployment fails and/or you need to clean up the resources.
197+
198+
## Environment configuration for local development & debugging
199+
> 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**.
200+
To configure your environment:
201+
- Navigate to the `src\api` folder.
202+
- Create a `.env` file based on the `.env.sample` file.
203+
- Fill in the `.env` file using deployment output or the Azure Portal under "Deployments" in your resource group.
204+
- Ensure that `APP_ENV` is set to "**dev**".
197205

198206
## For Local Debugging
199207

0 commit comments

Comments
 (0)