Ask Solem 1e9a795f70 New equivalence checks in RabbitMQ 1.8.0 breaks the AMQP backend. 15 年之前
..
README.rst 72a0778847 Added README.rst to examples/pythonproject/demoapp 15 年之前
__init__.py b5f44f6001 Added examples/ (not done) 16 年之前
celeryconfig.py 1e9a795f70 New equivalence checks in RabbitMQ 1.8.0 breaks the AMQP backend. 15 年之前
tasks.py e6e8766ea6 Managed to commit some debugging code. 15 年之前
test.py a40fc34d38 PEP8ify 15 年之前

README.rst

======================================
Example Python project using Celery
======================================


Modules
-------

* celeryconfig.py

The celery configuration module.

* tasks.py

Tasks are defined in this module. This module is automatically
imported by the worker because it's listed in
celeryconfig's ``CELERY_IMPORTS`` directive.

* test.py

Simple test program running tasks.



Running
-------


Open up two terminals, in the first you run:

$ celeryd --loglevel=INFO

In the other you run the test program:

$ python ./test.py

Voila, you've executed some tasks!