Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 747 Bytes

README.md

File metadata and controls

13 lines (7 loc) · 747 Bytes

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 [email protected]:futures/fcrepo-sample-dataset.git
  2. Change to the fcrepo-sample-dataset directory: cd fcrepo-sample-dataset
  3. Run: mvn -Dfcrepo.url=<repo.url> exec:java | mvn 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.