Files
oxpanel25/app/dev_run.sh
2026-04-11 21:51:30 +02:00

13 lines
199 B
Bash
Executable File

#!/usr/bin/env bash
APP_DIR="${APP_DIR:-/oxpanel/app}"
CORES=$(nproc)
WORKERS=$((2 * CORES + 1))
cd "${APP_DIR}/frontend" && yarn dev &
cd "${APP_DIR}" && python run_uvicorn.py &
wait -n
exit $?