Skip to content

Latest commit

 

History

History
67 lines (38 loc) · 1.85 KB

README.md

File metadata and controls

67 lines (38 loc) · 1.85 KB

Openshift Performance Dashboard

Dashboard directory structure

The CPT Dashboard Javascript source plus additional CSS/LESS and artifacts.

Assets placed in the src/assets/images directory are only referenced within component or layout definitions and are packaged in the generated ***.js file during the build process.

modules directory has all containers (patent layouts) and components (react components).

The utils directory has all helper/utility scripts.

Contains functions that manage store via actions

Cloning and Running the Application Locally

Type the following command to install all npm packages

$ npm install

In order to run the application use the following command

$ npm run dev

The application runs on http://localhost:3000 in the default browser.

Build

To build the application run the following command

$ npm run build

This will generate the build folder in the root directory, which contains packaged files such as ***.js, ***.css, and index.html.

Then, copy the build folder to the proper place on the server for deployment.

Template

This application is based on v5 of PatternFly which is a production-ready UI solution for admin interfaces. For more information regarding the foundation and template of the application, please visit PatternFly

Resources