ProspectIQ / scripts /start_celery_worker.bat
praneelchettys's picture
fix(celery): robust Celery configuration for local development and production deployments
24a6a42
Raw History Blame Contribute Delete
196 Bytes
@echo off
setlocal
cd /d "%~dp0\.."
if exist ".venv\Scripts\python.exe" (
.venv\Scripts\python.exe scripts\start_celery_worker.py
) else (
python scripts\start_celery_worker.py
)
endlocal