In OSX or Windows you can simply double-click the fcrepo-webapp-4.0.0-beta-03-auth.war file to launch the Fedora 4 console. Then click Start and wait for the application to load in your browser.
You can also run the application from the command line using the following command:
java -jar fcrepo-webapp-4.0.0-beta-03-jetty-console.war --headless |
Note: The location where Fedora writes to disk can be specified with the following flag:
java -Dfcrepo.home=/path/fedora/data -jar fcrepo-webapp-4.0.0-beta-03-jetty-console.war --headless |
Create a version with a label
curl -XPOST http://localhost:8080/rest/item/fcr:versions/my-label |
java -Dfcrepo.modeshape.configuration=file:/path/to/repository-federation.json -jar fcrepo-webapp-4.0.0-beta-03-jetty-console.war --headless |
"node-types" : ["/path/to/fedora-node-types-training.cnd"] |
java -Dfcrepo.modeshape.configuration=file:/path/to/repository-federation.json -jar fcrepo-webapp-4.0.0-beta-03-jetty-console.war --headless |
<> a carl:page |
Start Fuseki
./fuseki-server --update --mem /test |
http://localhost:3030
Modify repository-federation.json to point to fedora-node-types-indexing.cnd
"node-types" : ["/path/to/fedora-node-types-indexing.cnd"] |
Start Fedora
java -Dfcrepo.modeshape.configuration=file:/path/to/repository-federation.json -jar fcrepo-webapp-4.0.0-beta-03-jetty-console.war --headless |
Start fcrepo-message-consumer
java -jar fcrepo-message-consumer-webapp-4.0.0-beta-03-jetty-console.war --headless --port 9090 |
Create/Update some objects and perform some queries (examples)