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:
- Download the fcrepo-sample-dataset tool: git clone git@github.com:futures/fcrepo-sample-dataset.git
- Change to the fcrepo-sample-dataset directory: cd fcrepo-sample-dataset
- Build: mvn clean install
- 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.