Commit 29e4f065 authored by Daniel W Bond's avatar Daniel W Bond

haystack settings

parent 0fd6fcf4
......@@ -26,7 +26,7 @@ When you run `$ pip install -r requirements.txt` to install all Python modules,
Debian and Ubuntu Installation Instructions
---
`$ sudo apt-get update && apt-get install libldap2-dev python-dev libmysqlclient-dev python-mysqldb`
`$ sudo apt-get update && sudo apt-get install libldap2-dev python-dev libmysqlclient-dev python-mysqldb`
To-do
---
......
......@@ -125,6 +125,7 @@ INSTALLED_APPS = (
'bids',
'south',
'easy_thumbnails',
'haystack',
# Uncomment the next line to enable the admin:
'django.contrib.admin',
# Uncomment the next line to enable admin documentation:
......@@ -226,3 +227,13 @@ AUTH_LDAP_USER_ATTR_MAP = {
# This is the default, but I like to be explicit.
AUTH_LDAP_ALWAYS_UPDATE_USER = True
HAYSTACK_CONNECTIONS = {
'default' : {
'ENGINE' : 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine',
'URL' : 'http://127.0.0.1:9200/',
'INDEX_NAME': 'haystack',
},
}
HAYSTACK_SIGNAL_PROCESSOR = 'haystack.signals.RealtimeSignalProcessor'
......@@ -4,10 +4,13 @@ Pillow==2.2.1
South==0.8.4
argparse==1.2.1
django-auth-ldap==1.1.7
django-haystack==2.1.0
easy-thumbnails==1.4
gunicorn==18.0
pyelasticsearch==0.6.1
pyisbn==0.6.3
python-ldap==2.4.13
requests==2.1.0
simplejson==3.3.1
six==1.4.1
wsgiref==0.1.2
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment