Ask Solem 62647576d4 Examples now use broker URL. sqlakombu is currently broken though, need to find a solutionf or that 13 سال پیش
..
README.rst 0afa1efa28 Docs: Replaced all occurences of ``literal`` with `literal` 14 سال پیش
__init__.py b5f44f6001 Added examples/ (not done) 15 سال پیش
celeryconfig.py 62647576d4 Examples now use broker URL. sqlakombu is currently broken though, need to find a solutionf or that 13 سال پیش
tasks.py d4013e5389 celery.decorators.task replaced with celery.task, where the latter does not support magic keyword arguments. 14 سال پیش
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!