chore: align V2 into final four-project layout
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# V2 Local Development
|
||||
# V2 Local Development
|
||||
|
||||
## Run Tests
|
||||
|
||||
@@ -11,29 +11,29 @@ python -m pytest
|
||||
Contract API:
|
||||
|
||||
```powershell
|
||||
$env:PYTHONPATH='services/contract-api/src'
|
||||
$env:PYTHONPATH='yuqei-contract-platform/services/contract-api/src'
|
||||
python -m uvicorn yuqei_contract_api.main:app --host 0.0.0.0 --port 8100
|
||||
```
|
||||
|
||||
AI Platform API:
|
||||
|
||||
```powershell
|
||||
$env:PYTHONPATH='services/ai-platform-api/src'
|
||||
$env:PYTHONPATH='yuqei-ai-platform/services/ai-platform-api/src'
|
||||
python -m uvicorn yuqei_ai_platform_api.main:app --host 0.0.0.0 --port 8101
|
||||
```
|
||||
|
||||
Worker health:
|
||||
|
||||
```powershell
|
||||
$env:PYTHONPATH='services/worker/src'
|
||||
$env:PYTHONPATH='yuqei-ai-platform/services/worker/src'
|
||||
python -m yuqei_worker.main --health
|
||||
```
|
||||
|
||||
## Run Infrastructure With Docker
|
||||
|
||||
```powershell
|
||||
Copy-Item infra/compose/.env.example infra/compose/.env -ErrorAction SilentlyContinue
|
||||
docker compose --env-file infra/compose/.env -f infra/compose/docker-compose.yml up --build
|
||||
Copy-Item yuqei-infra/compose/.env.example yuqei-infra/compose/.env -ErrorAction SilentlyContinue
|
||||
docker compose --env-file yuqei-infra/compose/.env -f yuqei-infra/compose/docker-compose.yml up --build
|
||||
```
|
||||
|
||||
Health checks:
|
||||
|
||||
Reference in New Issue
Block a user