Twister2

Twister2

  • Getting Started
  • Docs
  • Tutorial
  • AI
  • Examples
  • Contribute
  • Download
  • Configurations
  • Java Docs
  • GitHub
  • Blog

Dashboard

Twister2 dashboard has two components.

  1. Front End Web application; A ReactJS based web application
  2. Web server; A spring boot application, which exposes a RESTful Web Service (JAX-RS)

Even though (2) Embedded web server, has been included in the main bazel build, (1) Front End Web application should be build separately.

Prerequisites to build web application

  • Node 6 or later : Download
  • NPM 5.2 or later : How to Setup
  • SASS : How to setup

Compiling web application

Having all above prerequisites ready, navigate to the root folder of dashboard client.

cd dashboard/client

Building SCSS

Now build SCSS files to produce CSS files with following command

npm run build-css

Building React app

Use below command to build the react application.

npm run build

This will create an optimized production build in {twister2_root}/dashboard/server/src/main/resources/static directory.

Building Dashboard

As the final step, run the main twister2 build, to generate all the binaries including dashboard.

  • Prerequisites to build web application
  • Compiling web application
    • Building SCSS
    • Building React app
    • Building Dashboard
Twister2
Docs
Getting Started (Quickstart)Guides (Programming Guides)
Community
Stack OverflowProject Chat
More
BlogGitHubStar
Copyright © 2020 Indiana University