chore: add local development env files and startup script

This commit is contained in:
Chris
2026-03-29 23:34:34 +08:00
parent db0b4545cb
commit 0e9ce1cd32
6 changed files with 37 additions and 3 deletions

View File

@@ -17,10 +17,12 @@ cp .env.example .env
## 3. 啟動服務
```bash
cd member.ose.tw/backend
source .venv/bin/activate
uvicorn app.main:app --host 127.0.0.1 --port 8000 --reload
./scripts/start_dev.sh
```
說明:
- `start_dev.sh` 會用 `--env-file .env.development` 啟動,不需要每次手改 `.env`
## 4. Authentik JWT 最小設定
`.env` 至少填一種:
- `AUTHENTIK_JWKS_URL=<jwks endpoint>`