diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2011-05-20 19:34:28 -0500 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2011-05-20 19:34:28 -0500 |
commit | 693b674ce094b27a8f562bf55d7695302257cc82 (patch) | |
tree | d6af1650f02d8301d5c66b37887a0d15f4e6112b /docs/hackinghowto.rst | |
parent | 2aa3bb1154758f7c5445985de2f0d4a00c6d78dc (diff) | |
download | mediagoblin-693b674ce094b27a8f562bf55d7695302257cc82.tar.lz mediagoblin-693b674ce094b27a8f562bf55d7695302257cc82.tar.xz mediagoblin-693b674ce094b27a8f562bf55d7695302257cc82.zip |
Added some stuff on how to run CELERY_ALWAYS_EAGER
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 ====================== |