This assumes that dependencies are installed and components like Redis are set up. This also assumes that you have already a running PostgreSQL database.
Activate the virtual environment and start the Redis server. Redis acts as a message broker for Celery tasks.
source venv/bin/activate
sudo service redis-server startStart the Celery worker to process background tasks.
celery -A transkribus_workflow worker --loglevel=infoThis command starts the Celery worker, which listens for tasks and executes them as they are received.
This will keep running in the terminal, so in a new shell, activate the virtual environment again and start django's development server.
source venv/bin/activate
python manage.py runserver