mirror of
https://github.com/Cccc-owo/CheckInApp.git
synced 2026-06-17 05:56:29 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user