Skip to content

2. Installation Instructions

berk edited this page Nov 14, 2011 · 2 revisions

Add the following gems to your Gemfile:

gem 'kaminari'
gem 'will_filter', "~> 3.1.2" 
gem 'tr8n', "~> 3.1.1" 
gem 'sass'
gem 'coffee-script'

And run:

$ bundle

At the top of your routes.rb file, add the following lines:

mount WillFilter::Engine => "/will_filter"
mount Tr8n::Engine => "/tr8n"

To configure and initialize Tr8n engine, run the following commands:

$ rails generate will_filter
$ rails generate tr8n
$ rake db:migrate
$ rake tr8n:init
$ rails s

Open your browser and point to:

http://localhost:3000/tr8n