Installation

From reBiND Documentation
Revision as of 12:52, 21 October 2014 by LornaMorris (talk | contribs)
Jump to: navigation, search

Installation

Before you use the reBiND archiving system the data must be transformed into a suitable XML format. We use ABCD format (ABCD_in_reBiND) and to create ABCD XML files we recommend using the Biocase Provider Software (BPS). To install this software please follow the installation instructions in the BPS wiki.

reBiND Data Portal Prerequisites

To be able to install the reBiND archiving system you first need to install the eXist database, version 2.0 or later. the eXist database requires 512 MB of RAM and about 200 MB of disk space. The critical requirement is that Java be installed. We have tested the reBiND Data Portal with eXist version 2.1 and Java version 1.7. All software components have been tested on Windows 7 and Debian GNU/Linux 6.

Installing the reBiND Data Portal

The following steps should be carried out to install the reBiND components. After each step we've provided the location of the diectory on Windows where the files should be added or modified assuming that eXist has been installed on the C drive at C:\eXist-db.

  1. The rebind_module.jar is available from our subversion repository at: subversion rebind module. Add the rebind_module.jar to the eXist/lib/user directory. (on Windows C:\eXist-db\lib\user).
  2. Copy the folder called rebind (available from our subersion repository) to eXist/webapp (on Windows C:\eXist-db\webapp).

Configuring the reBiND Data Portal

  1. Register rebind-module by editing the eXist configuration file - eXist/conf.xml (on Windows C:\eXist-db\conf.xml). The following lines should be added within the <builtin-modules> element in theconf.xml:
<!-- modules for reBiND -->
<?xml version='1.0' encoding='UTF-8'?>
<module class="org.exist.xquery.modules.datetime.DateTimeModule" uri="http://exist-db.org/xquery/datetime"/>
<module class="org.exist.backup.xquery.BackupModule" uri="http://exist-db.org/xquery/backups"/>
<!-- Custom reBiND Module -->
<module class="org.bgbm.rebind.exist.module.RebindModule" uri="http://rebind.bgbm.org/code/module"/>

Consult the eXist documentation for further details about the module system.