Skip to content

Commit 3d47f21

Browse files
docs: Added changes in readme file related to SFI (#641)
* Update DeploymentGuide.md * Update DeploymentGuide.md for local development & debugging instructions * Update DeploymentGuide.md for local development & debugging instructions --------- Co-authored-by: Prajwal-Microsoft <v-dcprajwal@microsoft.com>
1 parent 8c20e7f commit 3d47f21

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
@@ -228,3 +228,13 @@ This will rebuild the source code, package it into a container, and push it to t
228228
3. **Deleting Resources After a Failed Deployment**
229229

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

0 commit comments

Comments
 (0)