diff --git a/package.json b/package.json index aecb67d..72131da 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,8 @@ "install:backend": "bash -lc 'cd apps/jingrow && if [ -f pyproject.toml ]; then uv sync; elif [ -f requirements.txt ]; then uv pip install -r requirements.txt; else echo \"No dependency manifest found\"; fi'", "build": "npm run build:frontend", "build:frontend": "cd apps/jingrow/frontend && npm run build", - "start": "concurrently --names \"BACKEND,FRONTEND\" --prefix-colors \"blue,green\" \"npm run start:backend\" \"sleep 3 && npm run start:frontend\"", + "start": "concurrently --names \"BACKEND,FRONTEND,WORKER\" --prefix-colors \"blue,green,yellow\" \"npm run start:backend\" \"sleep 3 && npm run start:frontend\" \"sleep 5 && npm run start:worker\"", + "start:worker": "cd apps/jingrow && uv run python -m jingrow.dramatiq", "start:frontend": "cd apps/jingrow/frontend && npm run preview", "start:backend": "cd apps/jingrow && uv run uvicorn jingrow.main:app --host 0.0.0.0 --port 9001", "clean": "npm run clean:frontend && npm run clean:backend",