From 699bb372a5591b54ab93d6085fca3b5a851b55fb Mon Sep 17 00:00:00 2001 From: volpino Date: Tue, 26 Jun 2012 17:17:35 +0200 Subject: [PATCH] euscanwww: Added README for celery Signed-off-by: volpino --- euscanwww/README.Celery | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 euscanwww/README.Celery diff --git a/euscanwww/README.Celery b/euscanwww/README.Celery new file mode 100644 index 0000000..5159e32 --- /dev/null +++ b/euscanwww/README.Celery @@ -0,0 +1,40 @@ +Requirements +============ + +Installing requirements with setup.py is the easiest way, just run:: + + python setup.py develop + +or:: + + python setup.py install # to install euscan and requirements + +If you prefer to use portage just install dev-python/django-celery-2.5.5 + +There's the need of having a broker for tasks. The default and reccommended +broker is RabbitMQ. +Install with:: +emerge rabbitmq-server + + +Running Celery +============== + +You'll need: +* celeryd (celery daemon for running tasks):: + + python manage.py celeryd -E -l INFO + +* celerycam (for monitoring celery and see the results in the django admin page):: + + python manage.py celerycam + +* celerybeat (for running periodic tasks):: + + python manage.py celerybeat -l INFO + + +TODO +==== + +Provide a supervisord configuration