forked from redbooth/teambox
-
Notifications
You must be signed in to change notification settings - Fork 0
Configuring Search
jamesu edited this page Aug 9, 2010
·
12 revisions
Teambox uses sphinx for search. You will also need a mysql or postgresql database in which to store the index.
By default search in Teambox is disabled. In order to enable it you will need to modify this line in config/teambox.yml:
# Enable search (you must have thinking_sphinx installed and configured)
allow_search: false
Once you have enabled search, you will need to generate the search index:
rake ts:index
Then simply run the following to start sphinx:
rake ts:start
Finally, you will need to periodically update the search index in order to keep up to date:
rake ts:rebuild