An example to run flask with celery including:
- app factory setup
- periodic tasks with celery beat
- flask cli script for an ipython shell and url_map
python36 -m venv venv
. venv/bin/activate
pip install -r requirements.txt
docker run -d --name redis -p 6379:6379 redis
celery -A celery_worker:celery worker --loglevel=DEBUG
celery -A celery_worker:celery beat --loglevel=INFO
env 'FLASK_APP=manage.py' flask run