Go to file
2022-07-14 02:11:01 +00:00
config perf: optimize cold start speed, fix hot module reload 2022-06-28 10:15:37 +08:00
docs Merge "fix: fix ip showing and users database access" 2022-06-30 14:38:36 +00:00
playbooks test: Add zun e2e test 2022-06-08 18:48:07 +08:00
releasenotes feat: Add releatenotes 2022-05-07 15:34:12 +08:00
skyline_console chore: Remove poetry 2022-05-25 17:15:01 +08:00
src Merge "fix: fix associate fip with port forwarding" 2022-07-14 02:11:01 +00:00
test feat: support quota info when clone volume 2022-06-30 16:16:19 +08:00
tools/git_config feat: Add initial code of skyline-console 2021-06-01 23:29:30 +08:00
.babelrc perf: optimize cold start speed, fix hot module reload 2022-06-28 10:15:37 +08:00
.eslintignore feat: Add initial code of skyline-console 2021-06-01 23:29:30 +08:00
.eslintrc fix: remove @ alias when import file 2022-04-25 09:58:34 +08:00
.gitignore chore: Remove poetry 2022-05-25 17:15:01 +08:00
.gitreview fix: update .gitreview 2022-02-14 10:27:00 +08: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
.stylelintrc.json refactor: Update style 2022-03-02 11:04:01 +08:00
.zuul.yaml test: Add zun e2e test 2022-06-08 18:48:07 +08:00
cypress.json feat: Add tags to nova service and so on 2022-03-26 20:11:15 +08:00
Gruntfile.js feat: Add initial code of skyline-console 2021-06-01 23:29:30 +08:00
jest.config.js fix: remove @ alias when import file 2022-04-25 09:58:34 +08:00
jsconfig.json fix: remove @ alias when import file 2022-04-25 09:58:34 +08:00
LICENSE feat: Add initial code of skyline-console 2021-06-01 23:29:30 +08:00
Makefile chore: Remove poetry 2022-05-25 17:15:01 +08:00
MANIFEST.in chore: Remove poetry 2022-05-25 17:15:01 +08:00
package.json perf: optimize cold start speed, fix hot module reload 2022-06-28 10:15:37 +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
requirements.txt chore: Remove poetry 2022-05-25 17:15:01 +08:00
setup.cfg chore: Remove poetry 2022-05-25 17:15:01 +08:00
setup.py chore: Remove poetry 2022-05-25 17:15:01 +08:00
test-requirements.txt chore: Remove poetry 2022-05-25 17:15:01 +08:00
tox.ini chore: Remove poetry 2022-05-25 17:15:01 +08:00
yarn.lock perf: optimize cold start speed, fix hot module reload 2022-06-28 10:15:37 +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