first commit
This commit is contained in:
commit
34ea15a54d
246 changed files with 18660 additions and 0 deletions
16
scripts/dev-backend.ps1
Normal file
16
scripts/dev-backend.ps1
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
$ErrorActionPreference = "Stop"
|
||||
$Root = Split-Path -Parent $PSScriptRoot
|
||||
Set-Location (Join-Path $Root "backend")
|
||||
|
||||
if (-not (Test-Path ".venv")) {
|
||||
python -m venv .venv
|
||||
}
|
||||
|
||||
& .\.venv\Scripts\Activate.ps1
|
||||
pip install -r requirements.txt
|
||||
if (-not (Test-Path ".env")) {
|
||||
Copy-Item ".env.example" ".env"
|
||||
Write-Host "Created backend/.env from .env.example — update values as needed."
|
||||
}
|
||||
|
||||
uvicorn app.main:app --reload --host 127.0.0.1 --port 8000
|
||||
Loading…
Add table
Add a link
Reference in a new issue