X-Git-Url: http://git.indexdata.com/?p=lui-solr.git;a=blobdiff_plain;f=dev-install.sh;fp=dev-install.sh;h=fa92c6261cd97d279d9494006b196dcfe6c3b952;hp=0000000000000000000000000000000000000000;hb=357b6cb94c8ea913eff88ae89d21a70a51d76428;hpb=20c0f05d70d810054ab8fe4bf54b56bb3aaebb0e 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 <