Skip to content

project-xavier/xavier-ui

Repository files navigation

xavier-ui

Build Status codecov

Pre requirements

  • Install Nodejs (v10.16.0 or later)
  • Install npm (6.9.0 or later)

Global npm packages needed:

npm install -g webpack-dev-server
npm install -g webpack-cli

NOTE: FOR RUNNING AND DEVELOPING YOU NEED TO ACTIVATE YOUR Red Hat VPN.

Cloning the repositories

You'll need to clone these repositories:

git clone https://github.com/project-xavier/xavier-ui.git
cd xavier-ui
npm ci

git clone https://github.com/RedHatInsights/insights-chrome
cd insights-chrome
npm ci

git clone https://github.com/RedHatInsights/insights-proxy.git
cd insights-proxy
npm install

Setup the initial /etc/hosts entries (do this once)

cd insights-proxy
sudo bash scripts/patch-etc-hosts.sh

Running and Developing

xavier-ui

cd xavier-ui
npm ci # Always execute this when package.json changed
npm run start

insights-chrome

cd insights-chrome
npm run build
npm run start

insights-proxy

Move to insight-chrome/build folder and then execute:

cd insights-chrome/build
SPANDX_CONFIG=../../xavier-ui/profiles/local-frontend-and-api.js LOCAL_CHROME=true sh ../../insights-proxy/scripts/run.sh

Open you browser

open your browser - https://ci.foo.redhat.com:1337/beta/migrations/migration-analytics

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published