Go to file
Jingwei.Zhang b0101e8a6f fix: fix cirros version in e2e config
Remove cirros version in the e2e config file, the cirros version relies on the devstack, when devstack changes the default cirros version, the e2e will be failed. The image select table which is used to create instance support fuzzy search image name, use cirros will be ok.

Change-Id: I4d9446313dca44040522356ca7551884332434ce
2023-07-13 16:41:28 +08:00
config feat: optimize configuration reading 2023-05-31 11:41:19 +08:00
doc feat: optimize configuration reading 2023-05-31 11:41:19 +08:00
docs feat: optimize configuration reading 2023-05-31 11:41:19 +08:00
playbooks chore: Replace https with http as default 2022-10-24 16:40:09 +08:00
releasenotes feat: add jwt expire check 2023-06-15 10:44:27 +08:00
skyline_console feat: update dist for rc1 release 2022-09-14 23:08:02 +08:00
src fix: fix virtual resources data display 2023-07-13 14:02:01 +08:00
test fix: fix cirros version in e2e config 2023-07-13 16:41:28 +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 feat: update color variables 2023-05-25 16:44:59 +08:00
.gitignore feat: optimize configuration reading 2023-05-31 11:41:19 +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 feat: update layout styles 2023-06-14 14:31:07 +08:00
.zuul.yaml feat: update e2e zuul tasks 2022-10-08 09:57:15 +08:00
cypress.json feat: Add tags to nova service and so on 2022-03-26 20:11:15 +08:00
Gruntfile.js feat: update zh-cn to zh-hans 2023-03-28 10:15:57 +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 fix: fix the error message 2023-06-13 14:44:48 +08:00
README-zh_CN.rst feat: optimize configuration reading 2023-05-31 11:41:19 +08:00
README.rst feat: optimize configuration reading 2023-05-31 11:41:19 +08:00
requirements.txt chore: Remove poetry 2022-05-25 17:15:01 +08:00
setup.cfg docs: Change the launchpad url for skyline-console 2022-10-11 11:41:21 +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 fix: eliminate whitespace in passenv values 2023-01-03 17:01:04 +08:00
yarn.lock fix: fix the error message 2023-06-13 14:44:48 +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-console>`__

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, 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
~~~~~~~~~~~~~~

-  `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>`__