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