A modern dashboard for OpenStack - UI
23ea22a1de
1. add Turkish language in the default config.yaml 2. fix the tr key in the locales Change-Id: I9e23d14e5b5114c8d827770b33b8254b9d7a3be2 |
||
---|---|---|
config | ||
doc | ||
docs | ||
playbooks | ||
README | ||
releasenotes | ||
skyline_console | ||
src | ||
test | ||
tools/git_config | ||
.babelrc | ||
.eslintignore | ||
.eslintrc | ||
.gitignore | ||
.gitreview | ||
.prettierignore | ||
.prettierrc | ||
.stylelintignore | ||
.stylelintrc.json | ||
.zuul.yaml | ||
cypress.json | ||
Gruntfile.js | ||
jest.config.js | ||
jsconfig.json | ||
LICENSE | ||
Makefile | ||
MANIFEST.in | ||
package.json | ||
README.rst | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini | ||
yarn.lock |
Instructions
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 rap2yarn run dev
: To use the actual interface, you can copyconfig/config.yaml
toconfig/local_config.yaml
, and replace theserver
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
- Directory structure
- Develop a new resource page
- BaseList introduction
- BaseTabList introduction
- BaseDetail introduction
- BaseDetailInfo introduction
- BaseStore introduction
- FormAction introduction
- ModalAction introduction
- ConfirmAction introduction
- StepAction introduction
- FormItem introduction
- Action introduction
- Menu introduction
- Route introduction
- I18n introduction