Tuesday, May 17, 2016

How to Install ElasticSearch on Linode using Moonshine

1. Install elasticsearch mooonshine plugin.

plugger install git://github.com/railsmachine/moonshine_elasticsearch.git --force
2. Add the elasticsearch configuration in config/moonshine.yml:
:elasticsearch:
  :version: 0.90.12
  :cluster_name: mycluster
3.  Include the recipe in manifest file. 

recipe :elasticsearch
Deploy it using Capistrano. You can see a demo on rubyplus.com search feature.

No comments:

Post a Comment