Note: The fabric browser should be run as a contained application of Eluvio Core JS
- Clone this repo along with the
elv-core-jsproject from github - Now set up a
configuration.jsfile in the root directory usingconfiguration-example.jsas a guide. This can be done with
cp configuration-example.js configuration.js
- Ensure that
coreUrlpoints to "http://localhost:8082" as this is the (localelv-core-jsurl) - In the
elv-core-jsdirectory, ensure that theappssection inconfiguration.jspoints the fabric browser app to the local instance you are about to run. Thus, it should contain the below line. Insert this line intoappsif it is not already there.
"Eluvio Fabric Browser": "http://localhost:8080",
- Run
npm install && npm run serveinelv-core-jsandelv-fabric-browserin separate terminal tabs - Open http://localhost:8082 in your browser
The following configuration options can also be set in configuration.js and default options are provided in configuration-example.js
displayUrlindicates the app to be used to display content objects. (e.g elv-stream-sample is the default display appfor playable objects)manageAppUrlindicates the app to be used for content object data and metadata management (defaults to asset-manager for most types)fabricBrowserAppsprovides a list of available apps which can be used for either content data management (manageAppUrl) or content display (displayAppUrl)