Created
August 20, 2011 08:00
-
-
Save Amitesh/1158827 to your computer and use it in GitHub Desktop.
Install sphinx for Rails 3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Install sphinx for Rails 3 | |
================================= | |
http://freelancing-god.github.com/ts/en/installing_sphinx.html | |
1) Download : http://sphinxsearch.com/files/sphinx-0.9.9.tar.gz | |
2) ./configure (It will configure with mysql default) | |
3) make | |
4) sudo make install | |
5) goto (cd) rails project directory | |
6) bundle exec rake ts:index RAILS_ENV=staging | |
7) bundle exec rake ts:start RAILS_ENV=staging | |
(in /home/amitesh/projects/app1) | |
Started successfully (pid 17319). | |
8) ps -fax | grep searchd | |
It will show following message | |
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html | |
17418 pts/2 S+ 0:00 | \_ grep --color=auto searchd | |
17319 pts/2 S 0:00 searchd --pidfile --config /home/amitesh/projects/app1/config/development.sphinx.conf | |
thats it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment