Added some stuff on how to run CELERY_ALWAYS_EAGER

This commit is contained in:
Christopher Allan Webber 2011-05-20 19:34:28 -05:00
parent 2aa3bb1154
commit 693b674ce0

View File

@ -136,6 +136,16 @@ Run::
CELERY_CONFIG_MODULE=mediagoblin.celery_setup.from_celery ./bin/celeryd
Too much work? Don't want to run an http server and celeryd at the
same time? For development purposes there's a shortcut::
CELERY_ALWAYS_EAGER=true ./bin/paster serve mediagoblin.ini --reload
This way the web server will block on processing items until they are
done, but you don't need to run celery separately (which is probably
good enough for development purposes).
Running the test suite
======================