...
Code Block |
---|
mvn -Dfcrepo.home=/mnt/fedora-data jetty:run |
One-Click Run
One option is to use the "one click" application, which comes with an embedded Jetty servlet. This can be optionally built by running:
Code Block |
---|
mvn install -pl fcrepo-webapp -P one-click |
and can be started by either double-clicking on the jar file or by running the following command:
Code Block |
---|
java -jar ./fcrepo-webapp/target/fcrepo-webapp-<version>-jetty-console.jar |
By default, a Fedora home directory, fcrepo, is created in the current directory. You can change the default location by passing in an argument when starting the one-click, e.g.If the One-Click Run is started from the command line, System Properties can be passed in per the example below:
Code Block |
---|
java -Dfcrepo.home=/mntdata/fedora-datahome -jar fcrepo-webapp-6.0.0-SNAPSHOT-jetty-console.war jar |
Anchor |
---|
| configelements |
---|
| configelements |
---|
|
Configuration Elements
...