From: Wayne Schneider Date: Fri, 15 Jul 2016 15:13:20 +0000 (-0500) Subject: Developer installation script. X-Git-Tag: v0.10~3 X-Git-Url: http://git.indexdata.com/?p=lui-solr.git;a=commitdiff_plain;h=357b6cb94c8ea913eff88ae89d21a70a51d76428;hp=20c0f05d70d810054ab8fe4bf54b56bb3aaebb0e Developer installation script. --- 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 <