Permalink
Browse files

Add more install infos to readme.md, fixes #23

  • Loading branch information...
1 parent 2b4f16a commit b9a1ba72384da98f430c7efb698acae1d13a04f4 @adamico adamico committed with ugisozols Oct 22, 2012
Showing with 15 additions and 1 deletion.
  1. +15 −1 readme.md
View
@@ -13,6 +13,20 @@ Simply use this by adding the following to your `Gemfile`:
gem 'refinerycms-search', '~> 2.0.0', :git => 'git://github.com/resolve/refinerycms-search.git', :branch => '2-0-stable'
```
+Now, run ``bundle install``
+
+Next, to install the search plugin run:
+
+ rails generate refinery:search
+
+Run database migrations:
+
+ rake db:migrate
+
+Finally seed your database and you're done.
+
+ rake db:seed
+
## RE-SAVE all records that have not been indexed before.
A sample search form can be found in [views/refinery/shared/_search.html.erb](http://github.com/resolve/refinerycms-search/blob/master/app/views/refinery/shared/_search.html.erb).
@@ -65,4 +79,4 @@ end
You will need to replace the indexed fields with those appropriate for your model.
-If you wish to override the url used in the search results just add a `url` method to your model and the result of this method will be used instead.
+If you wish to override the url used in the search results just add a `url` method to your model and the result of this method will be used instead.

0 comments on commit b9a1ba7

Please sign in to comment.