...
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 | ||
---|---|---|
| ||
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 | ||
---|---|---|
| ||
curl -v -XPUT --upload-file chandni.txt http://localhost:8080/rest/chandni/ds0/fcr:content |
...