Skip to content

Sparkler Dashboard Setup

Thamme Gowda edited this page Sep 12, 2017 · 3 revisions

Sparkler Visual Dashboard using Banana

We are using Banana to visualize the crawl statistics. Assuming you have already cloned the repository, follow the 5 easy steps to run the dashboard:

(a) Change directory to ${SPARKLER_GIT_SOURCE_PATH}
(b) Run the following commands, in order, to download Banana:

git submodule init
git submodule update

(c) Now, change directory to
cd ${SPARKLER_GIT_SOURCE_PATH}/sparkler-ui and run mvn clean install

(d) Run the following commands to copy the war and context configuration to Solr.

cp -r ${SPARKLER_GIT_SOURCE_PATH}/sparkler-ui/target/sparkler-ui-*.war ${SOLR_DIRECTORY_PATH}/server/solr-webapp/sparkler
cp ${SPARKLER_GIT_SOURCE_PATH}/conf/solr/sparkler-jetty-context.xml ${SOLR_DIRECTORY_PATH}/server/contexts/

Note: The destination of war should be ${SOLR_DIRECTORY_PATH}/server/solr-webapp/sparkler
(e) Start/Restart Solr. Below are the commands:

Stop Solr - `${SOLR_DIRECTORY_PATH}/bin/solr stop
Start Solr - `${SOLR_DIRECTORY_PATH}/bin/solr start

Link to Dashboard

Visit http://localhost:8983/banana

Load the Default Dashboard

${SPARKLER_GIT_SOURCE_PATH}/sparkler-ui/dashboard/Sparkler-Dashboard-Basic