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

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

Further steps needed to get installation setup and running

  • Property svn:executable set to *
File size: 1.5 KB
Line 
1#!/bin/bash
2
3if [ ! -d main-form/images ] ; then
4 echo "Error: Unable to find 'main-form/images'. Have you run UNZIP.sh?" >2
5 exit
6fi
7
8config_file="nz-flag-design.xml"
9
10echo ""
11echo "****"
12echo "* 1. Making 'render-3d/images/' world-writable to ensure web server can write to it"
13echo "* => chmod a+rwx render-3d/images"
14#echo "* => chmod a+rw render-3d/images/*.png"
15echo "****"
16chmod a+rwx render-3d/images/
17#chmod a+rw render-3d/images/*.png
18
19#echo ""
20#echo "****"
21#echo "* 2. Making 'render-3d/images/' world-writable to ensure web server can write to it"
22#echo "* => chmod a+rwx render-3d/images"
23#echo "* => chmod a+rw render-3d/images/*.png"
24#echo "****"
25
26echo "****"
27echo "* 2. Copying local extension files to SVG-Edit folder"
28echo "****"
29/bin/cp main-form/svg-edit-local/*.* main-form/svg-edit-trunk/editor/.
30
31
32echo "<Context path=\"/nz-flag-design\"" > "$config_file"
33echo " useHttpOnly=\"false\"" >> "$config_file"
34echo " docBase=\""`pwd`"\"" >> "$config_file"
35echo " debug=\"1\" reloadable=\"true\"" >> "$config_file"
36echo " allowLinking=\"true\">" >> "$config_file"
37echo " <Manager pathname=\"SESSIONS.ser\" />" >> "$config_file"
38echo "</Context>" >> "$config_file"
39
40#echo ""
41echo "+++ ... Done"
42#echo ""
43
44echo "****"
45echo "* 3. Now copy:"
46echo "* $config_file"
47echo "* to:"
48echo "* <tomcat-home>/conf/Catalina/localhost/$config_file"
49echo "****"
50
51
Note: See TracBrowser for help on using the repository browser.