VM setup uses Vagrant and fabric provisioning. Assuming you have pip installed, all python dependencies might be installed using
pip install -r requirements.txt
There is a vagrant plugin needed to run the box. Having Vagrant and Virtualbox installed, you may type
vagrant plugin install vagrant-fabric
Having vagrant, Vritualbox and all python dependencies installed, you can deal with the VM
using common Vagrant commands, e.g.
vagrant up
cd cluster-setup
andvagrant up
=> provisions a VM- go to Solr sources directory and invoke
ant clean compile dist example
=> builds Solr distribution cp -r example ~/your-location-of/solr-at/cluster-setup
=> moves fresh Solr distribution into the host/guest shared directoryfab vagrant mv_solr
=> moves Solr example directory from shared directory into guest-only directoryfab vagrant restart_clusters
=> kills all Solr processes and starts 2 clusters (with same configuration): vanilla (ports 8001, 8002) and branch build (ports 8101, 8102)cd cluster-test
and./gradlew clean test
=> runs acceptance test against Solr clusters- Check the results and repeat from 2. if necessary.