-
Notifications
You must be signed in to change notification settings - Fork 141
Sparkler Dashboard Setup
Felix Loesing edited this page Feb 20, 2021
·
3 revisions
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}/sparkler-core
(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-core/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-core/sparkler-ui/sparkler-dashboard/sparkler-ui-*.war ${SOLR_DIRECTORY_PATH}/server/solr-webapp/sparkler
cp ${SPARKLER_GIT_SOURCE_PATH}/sparkler-core/conf/solr/sparkler-jetty-context.xml ${SOLR_DIRECTORY_PATH}/server/contexts/
cp ${SPARKLER_GIT_SOURCE_PATH}/sparkler-core/sparkler-deployment/docker/jetty-csp-patch.xml ${SOLR_DIRECTORY_PATH}/server/etc/jetty.xml
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
Visit http://localhost:8983/banana
${SPARKLER_GIT_SOURCE_PATH}/sparkler-core/sparkler-ui/dashboard/Sparkler-Dashboard-Basic