diff --git a/README.txt b/README.txt index 2d89f2cb488238306344ea365115af51caf78c3d..7729347f051c19951c7de9e8d4b4d92a32f60927 100644 --- a/README.txt +++ b/README.txt @@ -5,3 +5,14 @@ LICENSE: this code is released under the GPL v3 or later. NEEDS: - http://github.com/openid/python-openid +- rabbitmq 1.8 +-- http://www.rabbitmq.com/debian.html +-- update the deb source +-- apt-get install rabbitmq-server + +- celery 2.0.2 and django-celery 2.0.2 for async jobs +-- http://celeryq.org +-- apt-get install python-setuptools +-- easy_install celery +-- easy_install django-celery + diff --git a/helios b/helios index 029425d7535a357cb81a0a6d8617ea8028495512..50eaae0e1b9c30d52798d4fc65a8800a7aa19ecb 160000 --- a/helios +++ b/helios @@ -1 +1 @@ -Subproject commit 029425d7535a357cb81a0a6d8617ea8028495512 +Subproject commit 50eaae0e1b9c30d52798d4fc65a8800a7aa19ecb diff --git a/settings.py.sample b/settings.py.sample index a16b898660a6539c553b546b789da3fcb5984b0b..20c12a001e8f6d74791109261ead1fa9db12669b 100644 --- a/settings.py.sample +++ b/settings.py.sample @@ -77,6 +77,9 @@ INSTALLED_APPS = ( 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', + ## needed for queues + 'djcelery', + ## HELIOS stuff 'auth', 'helios', 'server_ui', @@ -130,3 +133,12 @@ logging.basicConfig( format = '%(asctime)s %(levelname)s %(message)s' ) +# set up django-celery +BROKER_HOST = "localhost" +BROKER_PORT = 5672 +BROKER_USER = "guest" +BROKER_PASSWORD = "guest" +BROKER_VHOST = "/" + +import djcelery +djcelery.setup_loader()