Note: The fabric browser should be run as a contained application of Eluvio Core JS
- Clone this repo along with the
elv-core-js
project from github - Now set up a
configuration.js
file in the root directory usingconfiguration-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 (localelv-core-js
url) - In the
elv-core-js
directory, ensure that theapps
section inconfiguration.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 intoapps
if it is not already there.
"Eluvio Fabric Browser": "http://localhost:8080",
- Run
npm install && npm run serve
inelv-core-js
andelv-fabric-browser
in 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
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
)