source: other-projects/nz-flag-design/trunk/INSTALL.sh@ 29608

Last change on this file since 29608 was 29573, checked in by davidb, 9 years ago

Added chmod to install script

  • Property svn:executable set to *
File size: 796 bytes
Line 
1#!/bin/bash
2
3config_file="nz-flag-design.xml"
4
5echo ""
6echo "****"
7echo "* 1. Making render-3d/images/flag.png world-writable to ensure web server can write to it"
8echo "****"
9chmod a+rwx render-3d/images/flag.png
10
11#echo ""
12echo "****"
13echo "* 2. Creating Tomcat config file: $config_file"
14echo "****"
15
16
17echo "<Context path=\"/nz-flag-design\"" > "$config_file"
18echo " docBase=\""`pwd`"\"" >> "$config_file"
19echo " debug=\"1\" reloadable=\"true\"" >> "$config_file"
20echo " allowLinking=\"true\">" >> "$config_file"
21echo "</Context>" >> "$config_file"
22
23#echo ""
24echo "**** ... Done"
25#echo ""
26
27echo "****"
28echo "* 3. Now copy:"
29echo "* $config_file"
30echo "* to:"
31echo "* <tomcat-home>/conf/Catalina/localhost/$config_file"
32echo "****"
33
34
Note: See TracBrowser for help on using the repository browser.