Tuesday, 12 May 2009

Deploying the portal web application

For building the web application

The steps for building and deploying the portal web application are as follows:

1) Download the source code at: http://code.google.com/p/gbif-dataportal/source/checkout

The modules needed are:
  • portal-core
  • portal-index
  • portal-service
  • portal-web
For instructions on how to checkout this modules from the SVN to your machine, please see http://code.google.com/p/gbif-dataportal/source/checkout.

2) Once that the modules have been saved to your machine, you need to build them. There is a script on the portal-web module for automatically building all the project and downloading all the dependencies (libraries) from the repositories

Script location: portal-web/first-build-all.sh

For building the database

1) On the portal-core project, there is a file at db/portal.ddl that builds the initial structure for the index DB for the portal.

mysql> create database portal;
mysql -u [username] -p [database] < /PATH_TO_FILE/portal.ddl;

2) For populating the database with the minimum data required, there is a file at db/initPortal.data for doing such activity.

mysql -u [username] -p [database] < /PATH_TO_FILE/initPortal.data;


  1. Hello. I can't find the portal modules at the web address at sourceforge. THX

  2. Hi, its google code not SF and they are here: