Skip to content

Commit b13907b

Browse files
updated env in readme local setup
1 parent 7deb672 commit b13907b

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

docs/DeploymentGuide.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ The files for the dev container are located in `/.devcontainer/` folder.
287287

288288
- You can use the Bicep extension for VSCode (Right-click the `.bicep` file, then select "Show deployment plan") or use the Azure CLI:
289289
```bash
290-
az deployment group create -g <resource-group-name> -f deploy/macae-dev.bicep --query 'properties.outputs'
290+
az deployment group create -g <resource-group-name> -f infra/main.bicep --query 'properties.outputs'
291291
```
292292
- **Note**: You will be prompted for a `principalId`, which is the ObjectID of your user in Entra ID. To find it, use the Azure Portal or run:
293293
@@ -321,6 +321,10 @@ The files for the dev container are located in `/.devcontainer/` folder.
321321
5. **Create a `.env` file:**
322322
323323
- Navigate to the `src\backend` folder and create a `.env` file based on the provided `.env.sample` file.
324+
- Update the `.env` file with the required values from your Azure resource group in Azure Portal App Service environment variables.
325+
- Alternatively, if resources were
326+
provisioned using `azd provision` or `azd up`, a `.env` file is automatically generated in the `.azure/<env-name>/.env`
327+
file. To get your `<env-name>` run `azd env list` to see which env is default.
324328
325329
6. **Fill in the `.env` file:**
326330

docs/LocalDeployment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ The files for the dev container are located in `/.devcontainer/` folder.
7474

7575
- You can use the Bicep extension for VSCode (Right-click the `.bicep` file, then select "Show deployment plane") or use the Azure CLI:
7676
```bash
77-
az deployment group create -g <resource-group-name> -f deploy/macae-dev.bicep --query 'properties.outputs'
77+
az deployment group create -g <resource-group-name> -f infra/main.bicep --query 'properties.outputs'
7878
```
7979
- **Note**: You will be prompted for a `principalId`, which is the ObjectID of your user in Entra ID. To find it, use the Azure Portal or run:
8080
```bash

0 commit comments

Comments
 (0)