Skip to content

Commit 9b66409

Browse files
StepslocalDeploy
1 parent ef3a212 commit 9b66409

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/DeploymentGuide.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,4 +232,10 @@ To help you get started, sample Informix queries have been included in the data/
232232
## Environment configuration for local development & debugging
233233
> 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**.
234234

235-
To configure your environment, navigate to the `src\backend` 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**".
235+
1. Navigate to the `src\backend` folder.
236+
2. Create a `.env` file based on the `.env.sample` file.
237+
3. Fill in the `.env` file using the deployment output or by checking the Azure Portal under "Deployments" in your resource group.
238+
4. Alternatively, if resources were
239+
provisioned using `azd provision` or `azd up`, a `.env` file is automatically generated in the `.azure/<env-name>/.env`
240+
file. To get your `<env-name>` run `azd env list` to see which env is default.
241+
5. Ensure that `APP_ENV` is set to "**dev**" in your `.env` file.

0 commit comments

Comments
 (0)