Go to file
2024-10-23 22:03:28 +00:00
config Initial commit with Skyline console code 2024-10-23 22:00:27 +00:00
doc feat: optimize configuration reading 2023-05-31 11:41:19 +08:00
docs feat: update i18n 2024-03-06 18:07:43 +08:00
playbooks test: add firewall e2e 2024-05-09 10:57:27 +08:00
README [translate] add Korean Readme and README Folder 2024-03-06 18:16:00 +09:00
releasenotes feat: update login form 2024-07-12 09:53:46 +08:00
skyline_console feat: update dist for rc1 release 2022-09-14 23:08:02 +08:00
src Initial commit with Skyline console code 2024-10-23 22:00:27 +00:00
test feat: update login form 2024-07-12 09:53:46 +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: support custom locale language 2023-08-09 09:25:11 +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: support a custom UI theme 2024-01-03 11:45:28 +08:00
.zuul.yaml Upgrade to use node 16 instead of node 14 2024-09-05 10:52:10 +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 i18n 2024-03-06 18:07:43 +08:00
jest.config.js feat: support custom locale language 2023-08-09 09:25:11 +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 Lock setuptools version as 69.2.0 2024-07-15 16:35:02 +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.rst [translate] add Korean Readme and README Folder 2024-03-06 18:16:00 +09: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/README-zh_CN.rst>`__ \| English \| `한국어 <./README/README-ko_KR.rst>`__

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