Skip to content

Latest commit

 

History

History
45 lines (38 loc) · 615 Bytes

README.md

File metadata and controls

45 lines (38 loc) · 615 Bytes

Mina for Thinking Sphinx

Install

Add the gem to application's Gemfile:

gem 'mina-thinking-sphinx', require: false

Run

bundle install

Add line to deploy.rb

require 'mina/ts'

Usage

Use commands in deploy.rb:

task :deploy do
  deploy do
    ...
    on :launch do
      invoke :'ts:rebuild'
    end
  end
end

List of available commands

ts:start
ts:stop
ts:restart
ts:rebuild
ts:index
ts:configure
ts:rt:rebuild
ts:rt:index

See Thinking Sphinx Tasks documentation for details.