$ pip install - requirements.txt
4 terminals are needed to run.
- Start Redis locally
$ brew install redis
$ redis-server
- Celery Server
$ python main.py --mode celery
- Listener
$ python main.py --mode listener
- Open Python Shell
$ python
>>> from tasks import add
>>> task = add.delay(1, 3) # Insert any numbers
- Please install latest version(>=
1.2.0
) of flower, the celery monitoring tool.