#!/bin/bash

echo "Installing setuptools for Celery..."
/opt/venv/bin/python -m pip install setuptools

celery -A config worker --loglevel=info &

sleep 10 && celery -A config beat --loglevel=info &
sleep 10 && celery -A config flower --loglevel=info &

wait

exit $?
