ClusterIQ Console provides a web-based user interface for the ClusterIQ project.
This section explains how to deploy ClusterIQ Console.
git clone git@github.com:RHEcosystemAppEng/cluster-iq-console.git
cd cluster-iq-console
npm install && npm run start
# Install development/build dependencies
npm install
# Start the development server
npm run start
# Run a production build (outputs to "dist" dir)
npm run build
# Run the preview
npm run preview
- To keep our code formatting in check, we use prettier
- Code formatting and validation is done with Husky and lint-staged
This project was bootstrapped with Vite.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Builds the app for production to the dist
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
See the section about deployment for more information.
The command will boot up a local static web server that serves the files from dist
folder.
It's an easy way to check if the production build looks OK in your local environment.
See the section about deployment for more information.
You can learn more in the Vite documentation.
To learn React, check out the React documentation.