Skip to content

Commit 754a441

Browse files
Update DeploymentGuide.md
1 parent c60faf5 commit 754a441

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/DeploymentGuide.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,13 +328,17 @@ The files for the dev container are located in `/.devcontainer/` folder.
328328
- Update the `.env` file with the required values from your Azure resource group in Azure Portal App Service environment variables.
329329
- Alternatively, if resources were
330330
provisioned using `azd provision` or `azd up`, a `.env` file is automatically generated in the `.azure/<env-name>/.env`
331-
file. To get your `<env-name>` run `azd env list` to see which env is default.
331+
file. You can copy the contents of this file into your backend `.env` file.
332+
333+
_**Note**: To get your `<env-name>` run `azd env list` to see which env is default._
332334
333335
6. **Fill in the `.env` file:**
334336
335337
- Use the output from the deployment or check the Azure Portal under "Deployments" in the resource group.
336338
- Make sure to set APP_ENV to "**dev**" in `.env` file.
337-
- When you run `azd provision` or `azd up`, a `.env` file is generated at `.azure/<env-name>/.env` (you can check the default environment using `azd env list`). Copy the contents of this file into your backend `.env` file. Additionally, for local development, make sure to include `BACKEND_API_URL=http://localhost:8000` and `FRONTEND_SITE_NAME=http://127.0.0.1:3000` in the `.env`.
339+
- For local development, make sure to include below env variables in the `.env`
340+
- `BACKEND_API_URL=http://localhost:8000`
341+
- `FRONTEND_SITE_NAME=http://127.0.0.1:3000` .
338342
339343
7. **(Optional) Set up a virtual environment:**
340344

0 commit comments

Comments
 (0)