Changeset 9832


Ignore:
Timestamp:
2005-05-06T11:27:47+12:00 (19 years ago)
Author:
kjdon
Message:

more notes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ant-install-branch/gsdl3/README.txt

    r9788 r9832  
    2929Environment (1.4 or higher), and Ant installed to use Greenstone. You can download Ant from http://ant.apache.org/bindownload.cgi.
    3030
    31 In the gsdl3 directory, you can run ant which will give you a help message.
     31In the gsdl3 directory, you can run 'ant' which will give you a help message.
    3232Running 'ant -projecthelp' gives a list of the targets that you can run - these
    3333do various things like compile the source code, startup the server etc.
     
    3535For a first time install, run 'ant install'.
    3636
    37 The file build.properties contains various parameters that can be set by the user.
    38 
     37The file build.properties contains various parameters that can be set by the user. Please check these settings before running 'ant install'. The install process will ask you if you accept the properties before starting.
    3938For a  non-interactive version of the install, run
    4039ant -Dproperties.accepted=yes install
     
    4342ant -Dproperties.accepted=yes -logfile build.log install
    4443
     44Under Linux, Java and C/C++ compilation is carried out. For windows, since Visual Studio is not a standard component, only Java compilation is carried out. Pre-compiled binaries are provided for the C/C++ components (packages and Greenstone 2 style building). If you have Visual Studio installed (version 6), you can run the compile-windows-c++ targets to compile the code locally. (Don't forget to setup the Visual Studio environment first, by running, e.g. C:/Program Files/Microsoft Visual Studio/VC98/Bin/VCVARS32.BAT or equivalent.)
     45
    4546Running Greenstone:
    4647-------------------
    4748
    48 To startup the servers, run 'ant startup'. 'ant restart' and 'ant shutdown' restarts and shuts down the servers. TO start or stop just Tomcat or MYSQL, use the startup-tomcat, startup-mysql, shutdown-tomcat, shutdown-mysql targets.
     49To startup the servers, run 'ant startup'. 'ant restart' and 'ant shutdown' restarts and shuts down the servers. To start or stop just Tomcat or MYSQL, use the startup-tomcat, startup-mysql, shutdown-tomcat, shutdown-mysql targets.
    4950
    5051On Windows, if you have installed a binary version, you can also start Greenstone by selecting Greenstone 3 Digital Library from the Start menu.
     
    6465Building Collections:
    6566-----------------------
    66 Windows: need to have Perl installed and on your PATH.
    6767
    6868You can build collections using either Greenstone 2 style building, or native Greenstone 3 style.
     69
    6970Greenstone 2:
     71
     72You need to have Perl installed and on your PATH.
    7073run  'ant gli", or cd to gsdl3/gli and run gli4gs3.sh/bat. This is a graphical tool for building collections.
    7174
    7275Greenstone 3:
    73 in the gsdl3 directory, run: source gs3-setup.sh (linux) or gs3-sestup (windows).
     76
     77In the gsdl3 directory, run: 'source gs3-setup.sh' (linux) or 'gs3-setup' (windows).
    7478To create a new collection, run 'gs3-mkcol.sh/bat <sitename> <collname>'
    7579Put documents in the import directory (gsdl3/web/sites/<sitename>/collect/<collname>/import), edit the collection configuration file (gsdl3/web/sites/<sitename>/collect/<collname>/etc/collectionConfig.xml), and run 'gs3-build.sh <sitename> <collname>'
    76 Rename the building directory to index (in gsdl3/web/sites/<sitename>/collect/<collname>) and reload the collection in Tomcat, or restart Tomcat.
     80Rename the building directory to index (in gsdl3/web/sites/<sitename>/collect/<collname>) and reload the collection in Tomcat (?a=s&sa=a&st=collection&sn=<collname>), or restart Tomcat.
    7781
    7882See the manual for more details about both styles of collection building.
     
    8791To prevent Tomcat showing directory listings, edit the gsdl3/comms/jakarta/tomcat/conf/web.xml file and set the value of the "listings" servlet parameter to false.
    8892
     93ant can't seem to do cvs using pserver cvs on windows:
     94there were some classes missing - www.ibiblio.org/maven/jsch/jars/jsch-0.1.17.jar
     95many ssh processes seemed to be started up - all waiting in the background for password??
     96So should only use anonymous cvs.
     97
Note: See TracChangeset for help on using the changeset viewer.