Skip to content

Commit

Permalink
Update Haystack config to use Solr on DotCloud
Browse files Browse the repository at this point in the history
  • Loading branch information
mjumbewu committed Oct 30, 2012
1 parent bd0a59d commit ed7f70b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions dotcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,12 @@ www:
systempackages:
- gdal-bin
- libgdal1-dev

db:
type: postgis

search:
type: solr
approot: solr
config:
solr_authentication: false
4 changes: 2 additions & 2 deletions postinstall
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ LEGISLATION = {
HAYSTACK_CONNECTIONS = {
'default': {
'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine',
'PATH': '/home/dotcloud/whoosh_index',
'ENGINE': 'haystack.backends.solr_backend.SolrEngine',
'PATH': env['DOTCLOUD_SEARCH_HTTP_URL'],
}
}
Expand Down

0 comments on commit ed7f70b

Please sign in to comment.