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
- Install Node.js
- Clone the CPT Dashboard code to a local file system
- Install all the npm packages
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.
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.
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