Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 1.67 KB

README.md

File metadata and controls

23 lines (20 loc) · 1.67 KB

Running the Fabric Browser

Note: The fabric browser should be run as a contained application of Eluvio Core JS

Quick start:

  • Clone this repo along with the elv-core-js project from github
  • Now set up a configuration.js file in the root directory using configuration-example.js as a guide. This can be done with
cp configuration-example.js configuration.js
  • Ensure that coreUrl points to "http://localhost:8082" as this is the (local elv-core-js url)
  • In the elv-core-js directory, ensure that the apps section in configuration.js points the fabric browser app to the local instance you are about to run. Thus, it should contain the below line. Insert this line into apps if it is not already there.
"Eluvio Fabric Browser": "http://localhost:8080",
  • Run npm install && npm run serve in elv-core-js and elv-fabric-browser in separate terminal tabs
  • Open http://localhost:8082 in your browser

Other Configuration Options:

The following configuration options can also be set in configuration.js and default options are provided in configuration-example.js

  • displayUrl indicates the app to be used to display content objects. (e.g elv-stream-sample is the default display appfor playable objects)
  • manageAppUrl indicates the app to be used for content object data and metadata management (defaults to asset-manager for most types)
  • fabricBrowserApps provides a list of available apps which can be used for either content data management (manageAppUrl) or content display (displayAppUrl)