Files
altium-render-engine/scripts/dev.sh
T
nearology 56c5ee23d3
Verify / test (push) Failing after 2m54s
first commit
2026-11-05 17:31:17 +03:30

10 خطوط
343 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "$0")/.."
export PYTHONPATH="$PWD/backend"
if [[ -f .env ]]; then set -a; source .env; set +a; fi
.venv/bin/python -m app.worker &
worker_pid=$!
trap 'kill "$worker_pid" 2>/dev/null || true' EXIT INT TERM
.venv/bin/python -m uvicorn app.main:app --host 127.0.0.1 --port 8000 --no-access-log