proper uv management
This commit is contained in:
@@ -7,8 +7,8 @@ PROJECT_DIR="$(cd "$(dirname "$0")/.." && pwd)"
|
||||
UNIT_FILE="/etc/systemd/system/${SERVICE_NAME}.service"
|
||||
RUN_USER="$(whoami)"
|
||||
|
||||
echo "==> Installing Python dependencies..."
|
||||
uv pip install -r "${PROJECT_DIR}/requirements.txt"
|
||||
echo "==> Syncing Python dependencies..."
|
||||
uv sync --project "${PROJECT_DIR}"
|
||||
|
||||
echo "==> Generating systemd unit file..."
|
||||
cat > "/tmp/${SERVICE_NAME}.service" <<EOF
|
||||
|
||||
Reference in New Issue
Block a user