Skip to content

Running in windows

Joe Dunleavy edited this page Feb 2, 2023 · 5 revisions
  1. install vs code
  2. install intelliJ community edition
  3. clone the scott logic fork of finos-vuu git clone https://github.com/ScottLogic/finos-vuu.git
  4. clone steves js viewserver git clone https://github.com/heswell/viewserver.js.git

vs code

  1. install node
  2. install yarn

viewserver.js

  1. open viewserver repo
  2. run yarn
  3. run yarn build
  4. run yarn viewserver

vuu showcase

  1. open finos-vuu/vuu-ui
  2. ensure either viewserver.js or scala backend is running
  3. run yarn
  4. run yarn build
  5. run yarn showcase

intelliJ

scala backend

  1. install scala plug in. file -> settings -> plugins -> search for Scala and install

image

  1. install scala 2.13.10
  2. file -> project structure -> select an SDK -> require version 11

image

  1. file -> settings -> build, execution, deployment -> Maven -> select "Use plugin registry"

image

  1. open maven tab, vuu-parent -> lifecycle -> install

image

  1. in visual studio code open finos-vuu/vuu-ui/sample-apps/app-vuu-example and run yarn build

  2. in intelliJ, select "SimulMain" config and click run

image

Troubleshooting

  • 'certificate-unknown' error: set 'Allow invalid certificates for resources loaded from localhost' to 'Enabled' in your chrome settings here:

chrome://flags/#allow-insecure-localhost

  • 'class Main not found' error: go to settings->Build, Execution, Deployment->Compiler->Scala Compiler and set 'Incrementality type' to 'Zinc'
  • General build errors: deleting the .idea folder from the root of the project and rebuilding can resolve some intermittent build errors.
Clone this wiki locally