From 357b6cb94c8ea913eff88ae89d21a70a51d76428 Mon Sep 17 00:00:00 2001 From: Wayne Schneider Date: Fri, 15 Jul 2016 10:13:20 -0500 Subject: [PATCH 1/1] Developer installation script. --- dev-install.sh | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100755 dev-install.sh diff --git a/dev-install.sh b/dev-install.sh new file mode 100755 index 0000000..fa92c62 --- /dev/null +++ b/dev-install.sh @@ -0,0 +1,46 @@ +#!/bin/bash + +# Unpack the Solr archive in the working directory +# Set up solr.in.sh with reasonable defaults +# Link in the lui-solr configuration + +SOLR_VERSION=5.5.1 +SOLR_DIR=solr-$SOLR_VERSION + +echo "Unpacking Solr $SOLR_VERSION archive..." +tar -xzf dist/solr-$SOLR_VERSION.tgz + +echo "Creating solr.in.sh..." +cp $SOLR_DIR/bin/solr.in.sh $SOLR_DIR/bin/solr.in.sh.default +cat > $SOLR_DIR/bin/solr.in.sh <