generated from nhcarrigan/template
feat: add meeting transcription app scaffolding
- Add Python backend structure with FastAPI for transcription/summarization - Add React UI with audio recording, transcript, and summary views - Configure Tauri to manage Python backend lifecycle - Set up Windows cross-compilation with cargo-xwin - Add Gitea CI workflow for lint, test, and multi-platform builds - Configure ESLint, Prettier, and Vitest for code quality Note: App scaffolding only - Python env and models not yet set up
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
"""Start the Chronara backend server."""
|
||||
|
||||
import os
|
||||
import sys
|
||||
import subprocess
|
||||
from pathlib import Path
|
||||
|
||||
# Add src directory to Python path
|
||||
src_path = Path(__file__).parent.parent / "src"
|
||||
sys.path.insert(0, str(src_path))
|
||||
|
||||
# Set environment for bundled deployment
|
||||
os.environ["CHRONARA_BUNDLED"] = "1"
|
||||
|
||||
# Start the FastAPI server
|
||||
subprocess.run([
|
||||
sys.executable,
|
||||
"-m",
|
||||
"uvicorn",
|
||||
"backend.main:app",
|
||||
"--host", "127.0.0.1",
|
||||
"--port", "8000",
|
||||
"--reload" if os.environ.get("CHRONARA_DEV") else ""
|
||||
])
|
||||
Reference in New Issue
Block a user