Installation

Quick installation guide:

1. The database PostgreSQL

- Install the latest version of PostgreSQL

http://www.postgresql.org/download/

- Create an empty database

- initialize the database using the sql file: database.sql

2. The application with the application server Tomcat

    • Install the 6.x version of Apache Tomcat

    • http://tomcat.apache.org/

    • In the conf directory of tomcat find the tomcat-users.xml file add the geoshield role and user.

    • example:

    • <role rolename="geoshield"/>

    • and the user admin:

    • <user password="admin" roles="geoshield" username="admin"/>

    • In the webapps directory of tomcat copy

    • the geoshield.war file

    • When geoshield.war is unpacked by tomcat in the geoshield directory go to WEB-INF/classes/META-INF/persistence.xml.

    • Modify:

    • <property name="javax.persistence.jdbc.url" value="jdbc:postgresql://localhost:5432/databasename"/>

    • where databasename is the name of the database that you have created

    • <property name="javax.persistence.jdbc.user" value="postgres"/>

    • where user is the name of the database user/owner

    • <property name="javax.persistence.jdbc.password" value="1234"/>

    • where 1234 is the password of the database user/owner

    • Restart tomcat

3. Install GeoServer (optional):

    • go to http://geoserver.org/ if you install a fresh copy of GeoServer, it is possible to see some examples in action, using the demo layers that cames with GeoServer.

4. Open your browser and type: http://localhost:8080/geoshield

5. Check the catalina.out log file of tomcat for errors

If you have troubles you can ask in the GeoShield group:

http://groups.google.com/group/geoshield-project

Better documentation will come..

The GeoShield Team