Changeset 9788


Ignore:
Timestamp:
2005-04-29T16:41:22+12:00 (19 years ago)
Author:
kjdon
Message:

added more ant info

File:
1 edited

Legend:

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

    r9767 r9788  
    3737The file build.properties contains various parameters that can be set by the user.
    3838
     39For a  non-interactive version of the install, run
     40ant -Dproperties.accepted=yes install
     41
     42To log the output in build.log, run
     43ant -Dproperties.accepted=yes -logfile build.log install
    3944
    4045Running Greenstone:
    4146-------------------
    4247
    43 To startup the servers, run 'ant startup'. 'ant restart' and 'ant shutdown' restarts and shuts down the servers.
     48To 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.
    4449
    45 On Windows, if you have installed a binary version, you can also start Greenstone by  selecting Greenstone 3 Digital Library from the Start menu.
     50On Windows, if you have installed a binary version, you can also start Greenstone by selecting Greenstone 3 Digital Library from the Start menu.
    4651
    4752Using SOAP (Linux and Windows):
     
    5459This will prompt you for the sitename (the directory name), and the site uri - this should be a unique identifier for the site's web service.
    5560
     61For a non-interactive version, run
     62ant -Daxis.sitename=xxx -Daxis.siteuri=yyy soap-deploy-site
     63
    5664Building Collections:
    5765-----------------------
    5866Windows: need to have Perl installed and on your PATH.
     67
     68You can build collections using either Greenstone 2 style building, or native Greenstone 3 style.
     69Greenstone 2:
     70run  'ant gli", or cd to gsdl3/gli and run gli4gs3.sh/bat. This is a graphical tool for building collections.
     71
     72Greenstone 3:
     73in the gsdl3 directory, run: source gs3-setup.sh (linux) or gs3-sestup (windows).
     74To create a new collection, run 'gs3-mkcol.sh/bat <sitename> <collname>'
     75Put 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>'
     76Rename the building directory to index (in gsdl3/web/sites/<sitename>/collect/<collname>) and reload the collection in Tomcat, or restart Tomcat.
     77
     78See the manual for more details about both styles of collection building.
    5979
    6080Other Notes:
     
    6383See gsdl3/docs/manual/manual.pdf for more details about the software and installation etc.
    6484
    65 Tomcat logs output in gsdl3/comms/jakarta/tomcat/logs/catalina.out.
     85Under Linux, Tomcat logs output in gsdl3/comms/jakarta/tomcat/logs/catalina.out.
    6686
    6787To 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.
Note: See TracChangeset for help on using the changeset viewer.