Go to file
zhu.boxiang 8c0247f99b docs: Update README doc file
Update README doc file.

Change-Id: I3f19dc907bd9fc158f73d34af4725400a9388d06
2022-01-12 21:10:59 +08:00
config fix: Remove useless package 2021-12-16 17:34:59 +08:00
docs refactor: Refactor path jump 2021-11-11 09:59:51 +08:00
playbooks feat: Publish skyline-console to opendev tarballs 2021-12-24 14:06:32 +08:00
skyline_console Add copyright for python files 2021-12-27 10:10:28 +08:00
src fix: Fix the create member disappear when status is changing 2021-12-28 18:20:28 +08:00
test fix: Fix e2e i18n 2021-12-10 10:54:17 +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 fix: Fix import circle 2021-09-07 12:57:18 +08:00
.gitignore fix: Hide vCPUs & ram in hypervisor 2021-09-14 10:19:06 +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 docs: Update README doc file 2022-01-12 21:10:59 +08:00
cypress.json test: Add Cypress retry times 2021-12-01 17:11:46 +08:00
Gruntfile.js 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 fix: Fix for security groups 2021-09-01 16:06:50 +08:00
LICENSE feat: Add initial code of skyline-console 2021-06-01 23:29:30 +08:00
Makefile feat: Support devstack integrated e2e tests 2021-10-25 18:34:48 +08:00
package.json fix: Remove useless package 2021-12-16 17:34:59 +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
README-zh_CN.md docs: Update README doc file 2022-01-12 21:10:59 +08:00
README.md docs: Update README doc file 2022-01-12 21:10:59 +08:00
tox.ini feat: Publish skyline-console to opendev tarballs 2021-12-24 14:06:32 +08:00
yarn.lock fix: Remove useless package 2021-12-16 17:34:59 +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