RIOJAL: Overlaying ePrints
Modified ePrints Setup
- Install EPrints 3.0.3 on your server from here
- Create an archive and check all working
- Download and unzip patch files
- Copy the rioja_global_patch to the eprints root directory
(usually /opt/eprints3) and patch with the following command (run from
the eprints root directory):
patch -p1 <rioja_global_patch
A number of files will be modified. Expect several lines that look like
this:
patching file <filename>
- Change to the repository's local directory
(<eprint_root>/archives/<archive_name>/) and copy in the
rioja_local_patch file. Patch with the following command:
patch -p3 <rioja_local_patch
This needs to be done for every repository running on the server
*before* changes are made to the configuration files.
- As the configuration of the repository has changed (new metadata
fields and a new dataset), the database needs to reflect this. The
easiest way to sort this out is to erase the database and recreate it.
To do this, run the following commands (these can be found in the
<eprints_root>/bin directory):
epadmin erase_data <archive_name>
generate_static <archive_name>
import_subjects <archive_name>
epadmin create_user <archive_name>
- Restart the web server.
Instructions from Adam Field (ePrints) January 2009.
RIOJA home page.