Skip to content

Commit b25fc00

Browse files
local deployment setup
1 parent 9a89ab9 commit b25fc00

2 files changed

Lines changed: 4 additions & 22 deletions

File tree

azure.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ metadata:
66

77
requiredVersions:
88
azd: '>= 1.18.0 != 1.23.9'
9-
bicep: '>= 0.33.0'
109

1110
hooks:
1211
postprovision:

docs/LocalDevelopmentSetup.md

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -344,26 +344,16 @@ Install dependencies for all Python services:
344344
### 6.1. Install Backend Dependencies
345345

346346
```bash
347-
# Navigate to backend directory
348-
cd code/backend
349-
347+
# From repository root (pyproject.toml is located here)
350348
# Install dependencies using Poetry
351349
pip install --upgrade pip
352350
pip install poetry
353351
poetry self add poetry-plugin-export@latest
354-
poetry export -o requirements.txt
352+
poetry export -o requirements.txt --without-hashes
355353
pip install -r requirements.txt
356354
```
357355

358-
### 6.2. Install Batch Function Dependencies
359-
360-
```bash
361-
# Navigate to batch directory
362-
cd batch
363-
364-
# Install dependencies
365-
pip install -r requirements.txt
366-
```
356+
> **📋 Note**: The batch function shares the same dependencies managed by the root `pyproject.toml`. No separate installation is needed for the batch function.
367357
368358
### 6.3. Alternative: Use Setup Script
369359

@@ -592,14 +582,7 @@ Copy-Item ..\..\..\.azure\<env-name>\.env . # Windows PowerShell
592582

593583
> **⚠️ Important**: Replace `<env-name>` with your actual azd environment name. You can find it by running `azd env list`.
594584
595-
### 10.2. Install Batch Function Dependencies
596-
597-
```bash
598-
# Make sure you're in code/backend/batch directory
599-
pip install -r requirements.txt
600-
```
601-
602-
### 10.3. Run the Batch Function
585+
### 10.2. Run the Batch Function
603586

604587
#### Option A: Using Azure Functions Core Tools (Command Line)
605588

0 commit comments

Comments
 (0)