ProspectIQ / scripts /start_celery_worker.ps1
praneelchettys's picture
fix(celery): robust Celery configuration for local development and production deployments
24a6a42
Raw History Blame Contribute Delete
235 Bytes
$ProjectRoot = Split-Path -Parent $PSScriptRoot
$PythonPath = if (Test-Path "$ProjectRoot\.venv\Scripts\python.exe") { "$ProjectRoot\.venv\Scripts\python.exe" } else { "python" }
& $PythonPath "$PSScriptRoot\start_celery_worker.py"