VisitorGuide Installation

From MobiComp

Jump to: navigation, search

The following instructions assume that the VisitorGuide is to be installed on a linux or OS/X platform. The servlet can be installed under any user account but these instructions assume the existence of a user called mobicomp.

Contents

Install the MobiComp Context Server

The Context Server must be installed first as the VisitorGuide uses several of its services. See Context Server Installation for details.

Obtain the source code

Checkout a copy of the VisitorGuide tree. You should already have a copy of the src tree from the installation of the Context Server. (for further details, see MobiComp_Repository):

  svn checkout http://www.piranesi.dyndns.org/svn/MobiComp/VisitorGuide/trunk VisitorGuide

Build the servlet

Edit VisitorGuide/web/WEB-INF/web.xml and change the postgres connection username and password to match those used above.

Run the following command in the VisitorGuide directory to build the VG.war file to be used by tomcat:

$ ant dist

Configure Tomcat

Use the tomcat manager application to install the VG.war application archive created above.

Configure Apache

Edit httpd.conf and add the following to the Proxy Server directives (see also, :

ProxyPass /VG http://localhost:8080/VG
ProxyPassReverse /VG http://localhost:8080/VG