Skip to content

Commit 7c5d857

Browse files
update .env steps
1 parent f8fe63b commit 7c5d857

1 file changed

Lines changed: 23 additions & 14 deletions

File tree

docs/LocalDevelopmentSetup.md

Lines changed: 23 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ cd src/backend
314314

315315
### 4.2. Configure Backend Environment Variables
316316

317-
Create a `.env` file in the `src/backend` directory:
317+
**Step 1: Create the `.env` file**
318318

319319
```bash
320320
# Create .env file
@@ -323,25 +323,34 @@ touch .env # Linux
323323
New-Item .env # Windows PowerShell
324324
```
325325

326-
Add the following to the `.env` file:
326+
**Step 2: Copy the template**
327327

328-
- Copy all the values from `.env.sample` (CTRL + A) and (CTRL +C)
329-
- Paste all copied value to `.env` (CTRL + V)
328+
1. Open the `.env.sample` file
329+
2. Select all content (CTRL + A)
330+
3. Copy (CTRL + C)
331+
4. Open the new `.env` file
332+
5. Paste (CTRL + V)
330333

331-
Get All the values from the Backend container app from Azure portal
334+
**Step 3: Get Azure values and update `.env`**
332335

333-
- Go to your resource group
334-
- open the backend container
335-
- Go to Environment variables of containers
336+
1. Open [Azure Portal](https://portal.azure.com)
337+
2. Navigate to your **Resource Group**
338+
3. Open the **Backend Container App**
339+
4. Click **Environment variables** in the left menu
340+
5. Copy each value from Azure and update the corresponding variable in your `.env` file
336341

337-
For reference, see the image below:
342+
For reference:
338343
![Environment_variables_example](./images/Environment_varibles_example.png)
339344

340-
- Make sure to set APP_ENV to "**dev**"
341-
- Keep Below variables as it is from `.env.sample`:
342-
- `BACKEND_API_URL=http://localhost:8000`
343-
- `FRONTEND_SITE_NAME=*`
344-
- `MCP_SERVER_ENDPOINT=http://localhost:9000/mcp`
345+
**Step 4: Update local development settings**
346+
347+
In your `.env` file, make these changes:
348+
349+
- Set `APP_ENV=dev`
350+
- Keep these local URLs (do NOT change them):
351+
- `BACKEND_API_URL=http://localhost:8000`
352+
- `FRONTEND_SITE_NAME=*`
353+
- `MCP_SERVER_ENDPOINT=http://localhost:9000/mcp`
345354

346355
### 4.3. Install Backend Dependencies
347356

0 commit comments

Comments
 (0)