2012-06-26 17:17:35 +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
|
|
|
|
|
2012-07-20 08:25:04 +02:00
|
|
|
If you prefer to use portage just install dev-python/django-celery
|
2012-06-26 17:17:35 +02:00
|
|
|
|
|
|
|
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)::
|
|
|
|
|
2012-07-07 15:13:59 +02:00
|
|
|
python manage.py celeryd -B -E -l INFO
|
2012-06-26 17:17:35 +02:00
|
|
|
|
|
|
|
* celerycam (for monitoring celery and see the results in the django admin page)::
|
|
|
|
|
|
|
|
python manage.py celerycam
|
|
|
|
|
|
|
|
|
|
|
|
TODO
|
|
|
|
====
|
|
|
|
|
|
|
|
Provide a supervisord configuration
|