Skip to content
jamesu edited this page Aug 9, 2010 · 12 revisions

Pre-requisites

Teambox uses sphinx for search. You will also need a mysql or postgresql database in which to store the index.

Enabling search

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

Clone this wiki locally