
INSTALL - installation instructions for SenseRelate::AllWords web interface

cp -R cgi-bin/allwords/ WEB_SERVER_DIR/cgi-bin/
cp -R htdocs/allwords/ WEB_SERVER_DIR/htdocs/
cd /usr/local/apache2/cgi-bin/allwords/
perl ./allword_server.pl
Use your web server's directory in place of WEB_SERVER. Note that WEB_SERVER is NOT an environment variable.

WordNet::Tools
WordNet::SenseRelate::AllWords
WordNet::SenseRelate::Tools
All these modules are available at CPAN. Please refer to README.web.pod for more information about installation of these modules. Before installing the web interface all these dependencies must be resolved. Please refer to INSTALL.pod of WordNet-SenseRelate-AllWords for installing dependencies.
cp -R cgi-bin/allwords/ /usr/local/apache2/cgi-bin/ Note that the location of cgi-bin may vary depending upon your operating system and web server.
cp -R htdocs/allwords/ /usr/local/apache2/htdocs/
WEB_SERVER/htdocs/allwords/allwords.html assumes that your WEB_SERVER/cgi-bin/allwords/ resides in /usr/local/apache/cgi-bin/. This may vary depending upon your operating system and the web server you use. Please modify these paths in allwords.html accordingly. You need to change the paths at two locations. One for allwords.cgi and the other for version.cgi.
1) Go to the cgi-bin/allwords directory of your web server
2) start the web server.
For example we start the web server as below
cd /usr/local/apache2/cgi-bin/allwords/
nohup ./allword_server.pl &
The server log is stored at cgi-bin/allwords/log.txt.
If you would like the web server to start automatically when your system is rebooted, you can modify your /etc/rc.local file to include the following:
# start apache (must be done before starting allwords) /usr/local/apache2/bin/apachectl -k start # start allwords server OLDPWD=`pwd` cd /usr/local/apache2/cgi-bin/allwords /usr/local/apache2/cgi-bin/allwords/allwords_server.pl & cd $OLDPWD
The above assumes that you are using Linux. Your path names may vary depending on hwo you have installed apache.

Varada Kolhatkar, University of Minnesota, Duluth kolha002 at d.umn.edu Ted Pedersen, University of Minnesota, Duluth tpederse at d.umn.edu
This document last modified by : $Id: INSTALL.web.pod,v 1.3 2008/03/16 20:36:50 kvarada Exp $

README.web.pod, INSTALL.pod

Copyright (c) 2008, Varada Kolhatkar, Ted Pedersen, Jason Michelizzi
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
Note: a copy of the GNU Free Documentation License is available on the web at http://www.gnu.org/copyleft/fdl.html and is included in this distribution as FDL.txt.