This project is simply an example project demonstrating the usage of
https://github.com/rainkinz/capistrano-solr
. Vagrant is used to test the
deployment.
Clone this repository and bundle install the required gems:
$ git clone XXXXXXXXXXXXXXXXXXXXXX
$ cd capistrano-solr-example
$ bundle install
TODO: Fill out this section
TODO: Take a look at config/deploy.rb
. Anything needed in there?
See https://www.virtualbox.org/wiki/Downloads for downloads and install information for VirtualBox.
If you're using OSX with homebrew and cask you can probably do something like this:
$ brew cask install virtualbox
See https://www.vagrantup.com/ for specific information on how to install vagrant.
If you're using OSX with homebrew and cask you can probably do something like this:
$ brew cask install vagrant
As an example look at the Vagrant deploy in config/deploy/vagrant.rb
which
looks like:
# Configures a local Vagrant Instance with Solr
#
set :user, 'vagrant'
server "172.28.128.3", user: fetch(:user), roles: %w{solr zookeeper},
ssh_options: {
# user: 'vagrant', # overrides user setting above
# keys: %w(/home/user_name/.ssh/id_rsa),
forward_agent: false,
auth_methods: %w(publickey password),
password: 'vagrant'
}
Start up the supplied Vagrant box:
$ vagrant up
Deploy solr:
$ be cap vagrant solr:install
Navigate to http://localhost:8983/solr and you should see solrcloud running.