https://github.com/redbox-mint/oai-server
https://github.com/redbox-mint/oai-server
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/redbox-mint/oai-server
- Owner: redbox-mint
- License: gpl-2.0
- Created: 2014-02-26T06:58:37.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2015-06-30T03:28:02.000Z (about 11 years ago)
- Last Synced: 2024-12-30T09:17:23.970Z (over 1 year ago)
- Language: Groovy
- Size: 293 KB
- Stars: 0
- Watchers: 10
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
OAI-PMH Server
==========
This project contains a data driver and configuration for Proai, a repository-neutral, OAI-PMH server: http://proai.sourceforge.net
This allows institutions to focus on providing a OAI-PMH feed rather than maintaining a OAI-PMH server codebase.
Proai requires a database with JDBC drivers and a JDBC-accessible database. Currently, the server has been tested with Tomcat, using MySQL, Postgres and Derby as backends.
Installing
====
You can get the latest snapshot WARs in here and install them in your application server.
Prior to running the server, you will need to create the backend database and the user specified in the proai.properties file. By default, you will need to create the ff. on your localhost Postgres server:
DB: oaiserver
User: oaiserver
Password: oaiserver
Of course, you can modify the above values and secure your DB server as appropriate. :)
Customizing
====
The quickest way to customize is to modify the proai.properties found in the "classes" subdirectory of your deployed application. To apply your changes, the web application will have to be restarted.
If using Tomcat, it is found in your "tomcat-webapps/application/WEB-INF/classes" directory, where "tomcat-webapps" refers to the directory where Tomcat deploys applications, and "application" refers to the application name, likely "oai-server".
You can use any database backend, as long as you modify the appropriate property values and provide the required jar files, to suit your choice.
Building
====
To successfully build this project, you will need to deploy "proai.war" and "proai.jar" to your local Maven repository, using the ff. commands:
mvn install:install-file -DgroupId=proai -DartifactId=proai -Dversion=1.1.1 -Dpackaging=jar -Dfile=proai.jar
mvn install:install-file -DgroupId=proai -DartifactId=proai -Dversion=1.1.1 -Dpackaging=war -Dfile=proai.war
Please modify the -Dfile property to the appropriate location of the files you had downloaded from Proai.