Skip to main content

OpenStack Skyline Console

Project description

简体中文| 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.json in 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 interface, you can copy config/config.yaml to config/local_config.yaml , and replace the server value with the correct address.

  • 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

skyline-console-4.0.1.tar.gz (26.5 MB view hashes)

Uploaded Source

Built Distribution

skyline_console-4.0.1-py3-none-any.whl (6.2 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page