A modern dashboard for OpenStack - UI
Go to file
Jingwei.Zhang c960f06c1a feat: Support client module
1. Add client module to request openstack api
2. Remove window.request, stores use client to request api
3. Remove window.globals, use globalRootStore to deal with user info

Change-Id: I5657cfd8cf142dbacce8716991f805bbbb4a9222
2021-08-24 15:58:45 +08:00
config feat: Support client module 2021-08-24 15:58:45 +08:00
docs docs: Update en test docs 2021-08-23 03:13:58 +00:00
skyline_console style: Move static_path into skyline_console 2021-07-15 15:03:18 -04:00
src feat: Support client module 2021-08-24 15:58:45 +08:00
test fix: Fix the user's real name field to real_name 2021-08-23 14:09:10 +08:00
tools/git_config feat: Add initial code of skyline-console 2021-06-01 23:29:30 +08:00
.babelrc feat: Add initial code of skyline-console 2021-06-01 23:29:30 +08:00
.eslintignore feat: Add initial code of skyline-console 2021-06-01 23:29:30 +08:00
.eslintrc feat: Add initial code of skyline-console 2021-06-01 23:29:30 +08:00
.gitignore docs: Add Chinese documents 2021-06-25 10:53:34 +08:00
.gitreview Added .gitreview 2021-05-08 17:14:35 +00:00
.prettierignore docs: Add Chinese documents 2021-06-25 10:53:34 +08:00
.prettierrc feat: Add initial code of skyline-console 2021-06-01 23:29:30 +08:00
.zuul.yaml Add Zuul support for new repository 2021-05-10 12:48:50 +02:00
Gruntfile.js feat: Add initial code of skyline-console 2021-06-01 23:29:30 +08:00
LICENSE feat: Add initial code of skyline-console 2021-06-01 23:29:30 +08:00
Makefile fix: Fix pass props from layout 2021-08-24 11:30:09 +08:00
README-zh_CN.md docs: Add en readme 2021-08-06 17:15:03 +08:00
README.md docs: Add en readme 2021-08-06 17:15:03 +08:00
cypress.json feat: Add initial code of skyline-console 2021-06-01 23:29:30 +08:00
jest.config.js feat: Add initial code of skyline-console 2021-06-01 23:29:30 +08:00
jsconfig.json feat: Add initial code of skyline-console 2021-06-01 23:29:30 +08:00
package.json feat: Support client module 2021-08-24 15:58:45 +08:00
poetry.lock feat: Add initial code of skyline-console 2021-06-01 23:29:30 +08:00
poetry.toml style: Move static_path into skyline_console 2021-07-15 15:03:18 -04:00
pyproject.toml feat: Add initial code of skyline-console 2021-06-01 23:29:30 +08:00
yarn.lock feat: Add initial code of skyline-console 2021-06-01 23:29:30 +08:00

README.md

Instructions

简体中文| English

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.