Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The user creates a node through the UI and uploads content – in this example it's a simple text file (chandni.txt) with a string ("chandni o. . ."):

Start Fedora

The modeshape configuration specifies using a file-based backend store.

Code Block
languagebash
cd fcrepo4/fcrepo-webapp
mvn jetty:run -Dfcrepo.ispn.repo.CacheDirPath=/tmp/FedoraRepo -Dfcrepo.modeshape.configuration=/config/single-file/repository.json
Add Content
Code Block
languagebash

curl -v -XPUT --upload-file chandni.txt http://localhost:8080/rest/chandni/ds0/fcr:content

...