Last Updated: February 25, 2016
·
1.165K
· robotmay

Run Sphinx in Rails using Foreman

Using Foreman, Sphinx, and Thinking Sphinx in a Rails project? Here's how you can run Sphinx from your Procfile:

web: bundle exec puma -p $PORT
search: env NODETACH=true rake ts:rebuild