Skip to content

Commit a03e0dd

Browse files
committed
make the app work locally
1 parent fb4477c commit a03e0dd

1 file changed

Lines changed: 1 addition & 18 deletions

File tree

README.md

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -39,30 +39,13 @@ A FastAPI-based to-do list application with Azure AI Agents integration and Mode
3939
3. **Configure Azure AI (Optional)**:
4040
For AI chat features in your local environment, if you have AI Foundry resources already deployed, set these environment variables. Ensure you're logged into the Azure CLI using `az login` as that credential is required to access the chat.
4141

42-
**Option A: Create a `.env` file in the project root:**
42+
**Create a `.env` file in the project root:**
4343
```bash
44-
# .env file - Optional for local AI Chat functionality
4544
AZURE_AI_PROJECT_ENDPOINT=https://my-ai-project-abc123.westus.ai.azure.com
4645
AZURE_AI_PROJECT_NAME=my-todo-project
4746
AZURE_OPENAI_DEPLOYMENT_NAME=gpt-4o
4847
AZURE_APP_SERVICE_URL=http://localhost:8000
4948
```
50-
51-
**Option B: Set environment variables in PowerShell:**
52-
```powershell
53-
$env:AZURE_AI_PROJECT_ENDPOINT="https://my-ai-project-abc123.westus.ai.azure.com"
54-
$env:AZURE_AI_PROJECT_NAME="my-todo-project"
55-
$env:AZURE_OPENAI_DEPLOYMENT_NAME="gpt-4o"
56-
$env:AZURE_APP_SERVICE_URL="http://localhost:8000"
57-
```
58-
59-
**Option C: Set environment variables in Command Prompt:**
60-
```cmd
61-
set AZURE_AI_PROJECT_ENDPOINT=https://my-ai-project-abc123.eastus2.ai.azure.com
62-
set AZURE_AI_PROJECT_NAME=my-todo-project
63-
set AZURE_OPENAI_DEPLOYMENT_NAME=gpt-4o
64-
set AZURE_APP_SERVICE_URL=http://localhost:8000
65-
```
6649

6750
4. **Access the app**:
6851
- To-do List: http://localhost:8000 ✅ (always works)

0 commit comments

Comments
 (0)