redhat-cip / dci-ui

Home Page:https://www.distributed-ci.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dci-ui

Source code for dci user interface. https://distributed-ci.io dci-ui is a static web app pluggable through CORS on a DCI server.

Getting started

To run the app in development mode follow those steps:

  • clone this repository
  • ensure DCI api is listening on localhost:5000. See dci-dev-env.
  • install node dependencies: npm install
  • run the development server : REACT_APP_BACKEND_HOST='http://127.0.0.1:5000' npm start

If you want to test the SSO autentification :

  • ensure Keycloak is listening on localhost:8180. See dci-dev-env.
  • run the development server with SSO env variables : REACT_APP_SSO_URL='http://localhost:8180' REACT_APP_BACKEND_HOST='http://127.0.0.1:5000' npm start

Build tools

To manage the workflow the project use npm scripts

List of commands:

  • npm start: start web server with live reload
  • npm run build: build application in build/ folder
  • npm run test: start unit test

About

https://www.distributed-ci.io/

License:Other


Languages

Language:TypeScript 98.5%Language:JavaScript 1.3%Language:HTML 0.1%Language:Dockerfile 0.0%Language:CSS 0.0%