backslash47 / fcrepo-sample-dataset

This repository holds a sample Fedora dataset and the tooling for uploading it into a Fedora repository.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This project includes a sample Fedora dataset and a tool to upload the dataset into a Fedora repository for demostration.

To import the sample dataset:

  1. Download the fcrepo-sample-dataset tool: git clone git@github.com:futures/fcrepo-sample-dataset.git
  2. Change to the fcrepo-sample-dataset directory: cd fcrepo-sample-dataset
  3. Build: mvn clean install
  4. Run: mvn -Dfcrepo.url=<repo.url> exec:java

The whole dataset will be loaded into the Fedora repository <repo.url>, or view the dataset from http://localhost:8080/rest by default.

To load your own dataset, convert it to jcr/xml format and place the data files under src/main/resources/data directory, then run "mvn -Dfcrepo.url=<repo.url> exec:java" to load it to the repository.

About

This repository holds a sample Fedora dataset and the tooling for uploading it into a Fedora repository.