Skip to content

Latest commit

 

History

History
108 lines (72 loc) · 1.37 KB

README.md

File metadata and controls

108 lines (72 loc) · 1.37 KB

This project is a customized solution based on the kubesphere/console project, providing a self-hosted cloud platform that helps users comprehensively understand and control the system's runtime status and resource usage through a visual Dashboard and feature-rich ControlHub.

Install yarn

npm install -g yarn

Install the dependencies

yarn install

Configuring

  • Create an .env file with the following
PROXY_DOMAIN= app-name.webos-acount.olares.cn
  • Edit hosts configuration
# The browser opens this domain in place of localhost
127.0.0.1 test.webos-acount.olares.cn
  • Create an local_config.yaml file with the following
server:
  apiServer:
    url: https://app-name.webos-acount.olares.com
    wsUrl: https://app-name.webos-acount.olares.com

Start the app in development mode (hot-code reloading, error reporting, etc.)

  • Server
yarn dev:server
  • Dashboard
yarn dev:dashboard
  • ControlHub
yarn dev:system
  • DevBox
yarn dev:devbox

Lint the files

yarn lint

Format the files

yarn format

Build the app for production

  • Server
yarn build:server
  • Dashboard
yarn build:dashboard
  • Control Hub
yarn build:system
  • DevBox
yarn build:devbox

CI


yarn vp