euscan-ng/euscanwww
Corentin Chary 2544af2e32 euscanwww/tasks: simplify tasks
- strip '_task' end
- remove "launcher" functions, if we want complicated starter
  functions we will put them somewhere else later.
- now, everything is asynchroneous, maybe we could switch from
  group_one()/group_chunks() to .chunks() someday...

Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-20 08:42:38 +02:00
..
djeuscan euscanwww/tasks: simplify tasks 2012-07-20 08:42:38 +02:00
euscanwww euscanwww/tasks: simplify tasks 2012-07-20 08:42:38 +02:00
htdocs euscanwww: Report problems is hided and can be shown with a click 2012-07-17 19:05:26 +02:00
scripts euscanwww: Fixed tasks to work with processing.scan and processing.misc 2012-07-07 15:13:59 +02:00
var euscanwww: euscan -> djeuscan 2012-04-04 17:31:54 +02:00
__init__.py euscanwww: initial structure 2011-04-12 16:09:17 +02:00
.gitignore git: update .gitignore 2012-07-03 10:57:07 +02:00
INSTALL euscanwww: euscan -> djeuscan 2012-04-04 17:31:54 +02:00
manage.py Lovely day for PEP8 and pylint! 2012-04-28 18:16:05 +02:00
README.Celery euscanwww/tasks: simplify tasks 2012-07-20 08:42:38 +02:00
runtests.py euscanwww: Tests for watch packages/categories/maintainers/herds 2012-07-14 16:22:02 +02:00

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

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 -B -E -l INFO

* celerycam (for monitoring celery and see the results in the django admin page)::

    python manage.py celerycam


TODO
====

Provide a supervisord configuration