Skip to content

Preparing Demo Setup

Servio Palacios edited this page Jan 29, 2020 · 10 revisions

Demo Setup for Trellis++

 ~/repos/trellisfw/demo 
   git clone https://github.com/trellisfw/trellisfw-broker.git
Cloning into 'trellisfw-broker'...
remote: Enumerating objects: 316, done.
remote: Counting objects: 100% (316/316), done.
remote: Compressing objects: 100% (135/135), done.
remote: Total 881 (delta 194), reused 283 (delta 176), pack-reused 565
Receiving objects: 100% (881/881), 513.23 KiB | 4.07 MiB/s, done.
Resolving deltas: 100% (555/555), done.
  ~/repos/trellisfw/demo 
   cd trellisfw-broker                         29.01.20    13:45:38 

  ~/repos/trellisfw/demo/trellisfw-broker     master 
   npm install                                 29.01.20    13:45:42 
npm WARN deprecated [email protected]: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
npm WARN deprecated [email protected]: We're super 😸  excited that you're trying to use ES2017+ syntax, but instead of making more yearly presets 😭 , Babel now has a better preset that we recommend you use instead: npm install babel-preset-env --save-dev. preset-env without options will compile ES2015+ down to ES5 just like using all the presets together and thus is more future proof. It also allows you to target specific browsers so that Babel can do less work and you can ship native ES2015+ to user 😎 ! We are also in the process of releasing v7, so please give http://babeljs.io/blog/2017/09/12/planning-for-7.0 a read and help test it out in beta! Thanks so much for using Babel 🙏, please give us a follow on Twitter @babeljs for news on Babel, join slack.babeljs.io for discussion/development and help support the project at opencollective.com/babel
npm WARN deprecated [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated [email protected]: 🙌  Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!
npm WARN deprecated [email protected]: 🙌  Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!
npm WARN deprecated [email protected]: 🙌  Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!
...

added 2139 packages from 833 contributors and audited 933340 packages in 55.87s
found 20 vulnerabilities (4 low, 14 moderate, 2 high)
  run `npm audit fix` to fix them, or `npm audit` for details

Start the broker

~/repos/trellisfw/demo/trellisfw-broker npm run start

Uploading demo data

  1. First, connect to the oada/trellis backend.

  2. Then click Demo data in the Main Menu. Wait for the app to settle (watch the progress bar)

  1. Then click Demo private data in the Main Menu. Wait for the app to settle (watch the progress bar)

  1. Refresh the App.

  2. Install an OSC from the trusted repo.

  1. Generate a PAC from the recently installed OSC.

  1. Refresh the app to reflect the changes.

  2. Send PAC to the Regulator.

  1. Reset cache, refresh all apps. At this point, all necessary endpoints (resources) in the backend are created. The app is ready for demo and watches are in place.
Clone this wiki locally