X-Git-Url: http://git.indexdata.com/?p=lui-solr.git;a=blobdiff_plain;f=doc%2Fdev-install.md;fp=doc%2Fdev-install.md;h=2d3d481302020db9e937ea4e5fa11c512c8dd6c2;hp=0000000000000000000000000000000000000000;hb=d188841af6b3330fa40b3d5083209653ac85f418;hpb=357b6cb94c8ea913eff88ae89d21a70a51d76428 diff --git a/doc/dev-install.md b/doc/dev-install.md new file mode 100644 index 0000000..2d3d481 --- /dev/null +++ b/doc/dev-install.md @@ -0,0 +1,63 @@ +The lui-solr repository offers two ways for developers to run lui-solr +out of the checked out git repository to test changes in schema and +Solr core configuration. + +Installation +============ + +Installing in userspace on the developer's system (Linux and MacOS) +------------------------------------------------------------------- + +### Prerequisites + +* lui-solr is a repackaging of Solr 5.x, which requires Java 7 + +### Installation + +* The 'dev-install.sh' script in the root of the repository working + directory unpacks Solr into the working directory and links the + configuration files from the 'conf/' directory into the Solr + installation. + +* After running dev-install.sh, the Solr installation can be + controlled from the 'solr-/bin/solr' script. Examples: + +``` + $ solr-5.5.1/bin/solr start + $ solr-5.5.1/bin/solr stop + +``` + +* The developer can work directly with the files in the 'conf/' + directory. + +* NOTE: do not commit the files in the 'solr-/' directory to + the repository! + +Installing in a VM using VirtualBox, Vagrant, and Ansible +--------------------------------------------------------- + +The repository includes a Vagrantfile and an Ansible playbook +('dev-deploy.yml') to build a VM with Debian Jessie and deploy +lui-solr to it. + +### Prerequisites + +* VirtualBox + +* Vagrant + +* Ansible , + + +### Installation + +* From the working directory: + +``` + vagrant up + +``` + + The files in the 'conf/' directory will control the Solr + installation on the virtual machine.