Ignore:
Timestamp:
2004-01-14T16:39:50+13:00 (20 years ago)
Author:
kjdon
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/docs/manual/manual.tex

    r6422 r6499  
    19551955*** need to make sure building stuff is in here ***
    19561956
    1957 Greenstone 3 is also available via CVS. You can download the latest version of the code. This is not guaranteed to be stable, in fact it is likely to be unstable. The advantage of using CVS is that you can update the code and get the latest fixes. Whats in CVS is quite different to what comes in a release. The code needs to be compiled, and some files need editing...
     1957Greenstone 3 is also available via CVS. You can download the latest version of the code. This is not guaranteed to be stable, in fact it is likely to be unstable. The advantage of using CVS is that you can update the code and get the latest fixes.
     1958
     1959Note that you will need the Java 2 SDK, version 1.4.0 or higher.
    19581960
    19591961To check out the greenstone code, use:
     
    19741976\begin{quote}\begin{gsc}
    19751977cd gsdl3\\
    1976 source setup.bash\\
    1977 install.bash\\
    1978 source setup.bash\\
     1978source gs3-setup.sh\\
     1979./gs3-prepare.sh\\
     1980./gs3-configure.sh \\
     1981./gs3-compile.sh \\
     1982./gs3-finalise.sh\\
    19791983\end{gsc}\end{quote}
    19801984
    1981 Note: if you are using mozilla it doesn't seem to like localhost - you should edit the siteConfig files (web/sites/<sitename>/siteConfig.xml) to have your computer name instead of localhost.
    1982 
    1983 Note: \gst{source setup.bash} needs to be done once in any xterm window before doing a make or running Tomcat. setup.bash sets the environment variables \gst{CLASSPATH, PATH, JAVA\_HOME} etc.
    1984 
    1985 To shutdown or startup Tomcat, the commands are:
     1985Note: \gst{source gs3-setup.sh} sets the environment variables \gst{CLASSPATH, PATH, JAVA\_HOME} and needs to be done in a shell before doing collection building etc.
     1986
     1987To startup or shutdown the library (includes the Tomcat server and MYSQL server), the commands are:
    19861988\begin{quote}\begin{gsc}
    1987 \gsdlhome/comms/jakarta/tomcat/bin/shutdown.sh\\
    1988 \gsdlhome/comms/jakarta/tomcat/bin/startup.sh\\
     1989./gs3-launch.sh
     1990./gs3-launch.sh -shutdown
    19891991\end{gsc}\end{quote}
    19901992
    1991 You shouldn't run install.bash twice.
    1992 To update your installation, you can run update.bash - this updates your code from CVS, and re-makes all the java stuff.
    1993 
    19941993\subsection{Windows install}
     1994
     1995Make sure that the following environment variables are set: JAVA\_HOME (where the JAva 2 SDK is installed); PATH (should include the CVS program, and \%JAVA\_HOME\%$\backslash$bin). The following commands should be run in a DOS prompt.
     1996
     1997Run gs3-setup.bat\\
     1998Run gs3-prepare.bat\\
     1999Using Wordpad, edit the gsdl3$\backslash$comms$\backslash$jakarta$\backslash$tomcat$\backslash$conf$\backslash$server.xml file. Add
     2000
     2001\begin{quote}\begin{gsc}
     2002<!-- GSDL3 Service -->\\
     2003<Context path='/gsdl3' docBase='@gsdl3home@$\backslash$web' debug='1'
     2004   reloadable='true'/>
     2005\end{gsc}\end{quote}
     2006
     2007above the line:
     2008\gst{<!-- Tomcat Root Context -->}
     2009
     2010Still using Wordpad, edit the gsdl3$\backslash$comms$\backslash$jakarta$\backslash$tomcat$\backslash$conf$\backslash$web.xml file. set the value of the 'listings' parameter to false.
     2011
     2012Run make.bat\\
     2013Run make.bat install.\\
     2014Run gs3-finalise.bat\\
     2015
     2016To run Greenstone, run gs3-launch.bat. This will start the Tomcat server in a new DOS window (stop it by closing the window), and open a broser window showing the Greenstone 3 homepage.
     2017
    19952018\newpage
    19962019\section{Tomcat}\label{app:tomcat}
     
    20532076\newpage
    20542077\section{SOAP}\label{app:soap}
     2078
    20552079\subsection{Setting up SOAP from CVS}\label{app:soap-cvs}
    20562080
Note: See TracChangeset for help on using the changeset viewer.