This project aims to add a set of tools enabling a solr developer or tester run and deploy through docker an instance of solr.
- Prerequisites:
- Python 2.7
- docker
- Instructions:
- Copy in a local folder the solr configuration and core details you wish to expose (solr.xml, core: conf/solrconf.xml and conf/schema.xml & index data)
- Copy in the same local folder the mysql dump of the tables that you need.
- Copy conf.py into conf_local.py and set it up according to your needs in solaris/src/conf.py.
- Install it with setup.py, preferable in a virtualenv.
- python setup.py install
The only supported method currently is to run a solr instance out of a pre made WAR, that should be placed in the shared_dir.
- Run: solaris run
- Remove containers: solaris rm
You can now visit your solr instance in http://<docker-ip>:<Port>/trovit_solr