Quick starter for getting Flask and celery up and running quickly.
- Make sure you have
pipenvinstalled and simply runpipenv install --devand then you can even runpipenv run apprunner.py - Copy over the
example.envto.envlikecp example.env .envfrom root of project. This is the redis connection info path that you can set if different than the default.
- Install all dependancies using either the
pip3 install -r requirements.txtorpipenv install --dev - Run
flask runin a terminal window - Run
celery worker -A task.appin another terminal window
To learn and not forget the Celery spin-up and run paradigm for future self projects.