Sacramento County Solr Search UI. Designed for use with Lucidworks Fusion.
npm install -g grunt-cli
git clone https://github.com/SacCounty/SolrSearch
cd SolrSearch
npm install
- Build project
- From project properties Web Tab click Create Virtual Directory
For local development, add proper host, username, and password keys to your environment variables with the following powershell or bash. Ie:
Windows
[Environment]::SetEnvironmentVariable("SolrHost", "solr.server.name", "User")
[Environment]::SetEnvironmentVariable("SolrUsername", "solr.User", "User")
[Environment]::SetEnvironmentVariable("SolrPassword", "solr.Password", "User")
*nix
export SolrHost=solr.server.name
export SolrUsername=solr.User
export SolrPassword=solr.Password
# make them permanent with
echo export SolrHost=solr.server.name >> .bash_profile
echo export SolrUsername=solr.User >> .bash_profile
echo export SolrPassword=solr.Password >> .bash_profile
grunt default
will jshint and execute unit tests
grunt build
will do everything in default, but will also create a build package for deployment.