Skip to content

Commit 7c5772e

Browse files
Merge pull request #537 from microsoft/main
chore: Down merge from main to dev
2 parents 5766c0b + d62232c commit 7c5772e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/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

195195
- Follow steps in [Delete Resource Group](./DeleteResourceGroup.md) if your deployment fails and/or you need to clean up the resources.
196196

197+
## Environment configuration for local development & debugging
198+
> 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**.
199+
To configure your environment, follow these steps:
200+
1. Navigate to the `src` folder.
201+
2. Create a `.env` file based on the `.env.sample` file.
202+
3. Fill in the `.env` file using the deployment output or by checking the Azure Portal under "Deployments" in your resource group.
203+
4. Ensure that `APP_ENV` is set to "**dev**" in your `.env` file.
204+
197205
## Next Steps
198206
Now that you've completed your deployment, you can start using the solution.
199207

0 commit comments

Comments
 (0)