#!/bin/bash
# Start RQ worker for PunimTag background jobs

cd "$(dirname "$0")"

# Activate virtual environment if it exists
if [ -d "venv" ]; then
    source venv/bin/activate
fi

# Set Python path
export PYTHONPATH="$(pwd)"

# Start worker
python -m backend.worker

