== README
App Prereqs:
- Java 7
- JRuby
- via RVM
- Install RVM:
curl -sSL https://get.rvm.io | bash -s stable - Install latest JRuby:
rvm install jruby
- Install RVM:
- Elasticsearch
- via Homebrew
- Install Homebrew:
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" - Install Elasticsearch:
brew install elasticsearch
- Install Homebrew:
- Start Elasticsearch:
elasticsearch --config=/usr/local/opt/elasticsearch/config/elasticsearch.yml
- Rails setup (development mode)
bundle installrake db:migraterake db:seedrails s
Optional/Misc:
- Homebrew cellar directory (/usr/local/Cellar):
brew config | grep -i ^HOMEBREW_CELLAR | awk '{print $2}' - Install Elasticsearch head plugin
- Plugins dir (/usr/local/var/lib/elasticsearch/plugins/):
brew info elasticsearch | grep -i ^Plugins: | awk '{print $2}' - Elasticsearch dir (/usr/local/Cellar/elasticsearch/1.3.2):
brew info elasticsearch | head -3 | tail -1 | awk '{print $1}' - cd /usr/local/Cellar/elasticsearch/1.3.2 && bin/plugin -install mobz/elasticsearch-head
- Browse to: http://localhost:9200/_plugin/head/