source: other-projects/hathitrust/wcsa/vol-checker/DOWNLOAD-JETTY.sh@ 31323

Last change on this file since 31323 was 31323, checked in by davidb, 7 years ago

Download script plus setup instructions

  • Property svn:executable set to *
File size: 681 bytes
Line 
1
2jetty_dist=jetty-distribution-7.6.21.v20160908
3jetty_tar="$jetty_dist.tar.gz"
4
5if [ ! -e "$jetty_tar" ] ; then
6 echo "Downloading: $jetty_tar"
7 wget "http://central.maven.org/maven2/org/eclipse/jetty/jetty-distribution/7.6.21.v20160908/$jetty_tar"
8fi
9
10if [ ! -d "$jetty_dist" ] ; then
11 echo "Untarring $jetty_tar"
12 tar xvzf "$jetty_tar"
13fi
14
15echo ""
16echo "****"
17echo "* To change the Jetty server to run on a custom port edit:"
18echo "* <Set name="port"><Property name="jetty.port" default="8080"/></Set>"
19echo "* in:"
20echo "* $jetty_dist/etc/jetty.xml"
21echo "****"
22echo "* To start the server run:"
23echo "* cd \$jetty_dist\" && java -jar start.jar"
24echo "****"
25echo ""
26
Note: See TracBrowser for help on using the repository browser.