build(backend): manage dependencies with uv

BREAKING CHANGE: apps/backend/requirements.txt is no longer the backend dependency source. Use uv sync and uv run python main.py for backend setup and startup.
This commit is contained in:
2026-05-03 17:19:27 +08:00
parent d4d6f87730
commit f8dcf6e3d3
12 changed files with 2613 additions and 81 deletions
+2 -2
View File
@@ -36,8 +36,8 @@ User=username
# Example: /home/username/CheckInApp
WorkingDirectory=/path/to/CheckInApp
# Start backend using the Python project manager
ExecStart=/path/to/CheckInApp/venv/bin/python /path/to/CheckInApp/main.py backend --no-reload
# Start backend using the uv-managed Python project manager
ExecStart=/usr/bin/env uv run python /path/to/CheckInApp/main.py backend --no-reload
# Restart policy
Restart=on-failure