Go to file
yangao 395084d022 fix: Optimize the directory structure of the resources folder
Optimize the directory structure of the resources folder

Change-Id: If33e899550823a66b4784dc6fd23f06d9f5cff11
2022-05-13 17:39:01 +08:00
2022-01-18 11:25:58 +08:00
2022-03-15 09:03:58 +00:00
2022-03-25 12:57:28 +08:00
2022-04-25 09:58:34 +08:00
2021-09-14 10:19:06 +08:00
2022-02-14 10:27:00 +08:00
2021-06-25 10:53:34 +08:00
2022-03-02 11:04:01 +08:00
2022-03-02 11:04:01 +08:00
2022-01-12 21:10:59 +08:00
2022-01-12 21:10:59 +08:00
2022-03-02 11:04:01 +08:00

Instructions

简体中文| English

Table of contents

Resources

Prerequisites

  • node: lts/erbium (v12.*)
  • yarn: 1.22.4 +

Local Environment

Take CentOS as an example

  • Install nvm ( version control system for nodejs )

    wget -P /root/ --tries=10 --retry-connrefused --waitretry=60 --no-dns-cache --no-cache  https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh
    bash /root/install.sh
    . /root/.nvm/nvm.sh
    
  • Install nodejs

    NODE_VERSION=erbium
    nvm install --lts=$NODE_VERSION
    nvm alias default lts/$NODE_VERSION
    nvm use default
    
  • Verify nodejs and npm versions

    node -v
    # v12.*.*
    npm -v
    # 6.*.*
    
  • Install yarn

    npm install -g yarn
    
  • Install the project dependency under the root directory, with package.jsonin the same place.

    yarn install
    

    After those steps, please just wait until the installation is complete.

Usage

Under the root directory, with package.json in the same place.

  • yarn run mock: Use the mock interface of rap2
  • yarn run dev: To use the actual interfaceplease change the "http://pre.xxx.com" in line 47 into the real address in file webpack.dev.js.
  • yarn run build: Build packages and then you can hand over the contents of the generated dist directory to the back end.

Docs

How to develop

How to test

Description
A modern dashboard for OpenStack - UI
Readme 85 MiB
Languages
JavaScript 99.2%
Less 0.7%