Go to file
zhangjingwei 49dca85560 feat: update dist for rc1 release
1. Update dist for rc1 release
2. Update version in the package.json

Change-Id: Iaf7c0f5261f0e89b7a38acc1d2be5482bc2384a2
2022-09-14 23:08:02 +08:00
config fix: remove Chinese in the svgs/comments 2022-08-09 15:31:59 +08:00
doc Merge "docs: remove skyline settings file" 2022-09-13 10:09:40 +00:00
docs feat: use the port list page to instead of the virutal adapter 2022-08-16 13:48:08 +08:00
playbooks test: add share type e2e case 2022-07-26 10:35:38 +08:00
releasenotes docs: Add rc1 release notes 2022-09-13 11:34:36 +08:00
skyline_console feat: update dist for rc1 release 2022-09-14 23:08:02 +08:00
src Merge "fix:update volume snapshot columns in the volume detail page" 2022-09-14 12:30:08 +00:00
test feat: use the port list page to instead of the virutal adapter 2022-08-16 13:48:08 +08:00
tools/git_config feat: Add initial code of skyline-console 2021-06-01 23:29:30 +08:00
.babelrc chore: import lodash on demand 2022-08-04 18:05:06 +08:00
.eslintignore feat: add the packaged front-end code 2022-07-20 14:16:07 +08:00
.eslintrc fix: remove @ alias when import file 2022-04-25 09:58:34 +08:00
.gitignore feat: Add doc base frame 2022-08-01 14:28:07 +08:00
.gitreview fix: update .gitreview 2022-02-14 10:27:00 +08:00
.prettierignore feat: add the packaged front-end code 2022-07-20 14:16:07 +08:00
.prettierrc feat: Add initial code of skyline-console 2021-06-01 23:29:30 +08:00
.stylelintignore feat: add the packaged front-end code 2022-07-20 14:16:07 +08:00
.stylelintrc.json refactor: Update style 2022-03-02 11:04:01 +08:00
.zuul.yaml feat: add magnum/trove to the zuul config 2022-08-08 10:45:53 +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 feat: update dist for rc1 release 2022-09-14 23:08:02 +08:00
README-zh_CN.rst docs: Change little doc bugs 2022-07-27 10:13:50 +08:00
README.rst docs: Add contributor introduction 2022-08-25 15:20:36 +08:00
requirements.txt chore: Remove poetry 2022-05-25 17:15:01 +08:00
setup.cfg docs: Change md file to rst file 2022-07-20 13:52:47 +08:00
setup.py chore: Remove poetry 2022-05-25 17:15:01 +08:00
test-requirements.txt fix: Update the package version 2022-08-18 13:43:36 +08:00
tox.ini feat: Add doc base frame 2022-08-01 14:28:07 +08:00
yarn.lock chore: import lodash on demand 2022-08-04 18:05:06 +08:00

Instructions
============

`简体中文 <./README.zh_CN.rst>`__\ \| English

**Table of contents**

-  `Instructions <#instructions>`__

   -  `Resources <#resources>`__
   -  `Prerequisites <#prerequisites>`__
   -  `Local Environment <#local-environment>`__
   -  `Usage <#usage>`__
   -  `Docs <#docs>`__

      -  `How to develop <#how-to-develop>`__
      -  `How to test <#how-to-test>`__

Resources
---------

-  `Wiki <https://wiki.openstack.org/wiki/Skyline>`__
-  `Bug Tracker <https://launchpad.net/skyline-apiserver>`__

Prerequisites
-------------

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

Local Environment
-----------------

Take CentOS as an example

-  Install nvm ( version control system for nodejs )

   .. code:: shell

      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

   .. code:: shell

      NODE_VERSION=erbium
      nvm install --lts=$NODE_VERSION
      nvm alias default lts/$NODE_VERSION
      nvm use default

-  Verify nodejs and npm versions

   .. code:: shell

      node -v
      # v12.*.*
      npm -v
      # 6.*.*

-  Install yarn

   .. code:: shell

      npm install -g yarn

-  Install the project dependency under the root directory, with
   ``package.json`` in the same place.

   .. code:: shell

      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 <http://rap2.taobao.org/>`__
-  ``yarn run dev``: To use the actual interface, please 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
~~~~~~~~~~~~~~

-  `Preparation before
   development <docs/en/develop/1-ready-to-work.md>`__
-  `Directory structure <docs/en/develop/2-catalog-introduction.md>`__
-  `Develop a new resource
   page <docs/en/develop/3-0-how-to-develop.md>`__
-  `BaseList
   introduction <docs/en/develop/3-1-BaseList-introduction.md>`__
-  `BaseTabList
   introduction <docs/en/develop/3-2-BaseTabList-introduction.md>`__
-  `BaseDetail
   introduction <docs/en/develop/3-3-BaseDetail-introduction.md>`__
-  `BaseDetailInfo
   introduction <docs/en/develop/3-4-BaseDetailInfo-introduction.md>`__
-  `BaseStore
   introduction <docs/en/develop/3-5-BaseStore-introduction.md>`__
-  `FormAction
   introduction <docs/en/develop/3-6-FormAction-introduction.md>`__
-  `ModalAction
   introduction <docs/en/develop/3-7-ModalAction-introduction.md>`__
-  `ConfirmAction
   introduction <docs/en/develop/3-8-ConfirmAction-introduction.md>`__
-  `StepAction
   introduction <docs/en/develop/3-9-StepAction-introduction.md>`__
-  `FormItem
   introduction <docs/en/develop/3-10-FormItem-introduction.md>`__
-  `Action introduction <docs/en/develop/3-11-Action-introduction.md>`__
-  `Menu introduction <docs/en/develop/3-12-Menu-introduction.md>`__
-  `Route introduction <docs/en/develop/3-13-Route-introduction.md>`__
-  `I18n introduction <docs/en/develop/3-14-I18n-introduction.md>`__

How to test
~~~~~~~~~~~

-  `Two kinds of tests <docs/en/test/1-ready-to-work.md>`__
-  `Directory structure <docs/en/test/2-catalog-introduction.md>`__
-  `How to edit e2e case <docs/en/test/3-0-how-to-edit-e2e-case.md>`__
-  `E2E - Form operation <docs/en/test/3-1-E2E-form-operation.md>`__
-  `E2E - Table operation <docs/en/test/3-2-E2E-table-operation.md>`__
-  `E2E - Detail operation <docs/en/test/3-3-E2E-detail-operation.md>`__
-  `E2E - Resource
   operation <docs/en/test/3-4-E2E-resource-operation.md>`__