diff options
Diffstat (limited to 'docs/hackinghowto.rst')
-rw-r--r-- | docs/hackinghowto.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/hackinghowto.rst b/docs/hackinghowto.rst index 939c9510..8974b31d 100644 --- a/docs/hackinghowto.rst +++ b/docs/hackinghowto.rst @@ -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 ====================== |