commit | 74cd11decf010409aea2ac3dd716942b1173657f | [log] [tgz] |
---|---|---|
author | Jay Chung <zhongjiajie955@gmail.com> | Wed Feb 07 17:07:20 2024 +0800 |
committer | Jay Chung <zhongjiajie955@gmail.com> | Wed Feb 07 17:07:20 2024 +0800 |
tree | 5e7ba602b104308c3417d2b532a2ac65cdbed92d | |
parent | ab53994053261a99e7d6aacee296c36c07254683 [diff] |
release: version 3.2.1 new release verison in Chinese New year.
This project keeps all sources used for building up DolphinScheduler's official website which is served at https://dolphinscheduler.apache.org/.
DolphinScheduler website is powered by docsite. Please also make sure your node version is 10+, version lower than 10.x is not supported yet.
yarn
in the root directory to install the dependencies.export PROTOCOL_MODE=ssh
tells Git clone resource via SSH protocol instead of HTTPS protocol 2.2. Run ./scripts/prepare_docs.sh
prepare all related resources, for more information you could see how prepare script workyarn generate
in the root directory to format and perpare the data.yarn dev
in the root directory to start a local server, you will see the website in ‘http://localhost:8080’.Note: if you clone the code in Windows, not Mac or Linux. Please read the details below. If you execute the commands like the two steps above, you will get the exception "UnhandledPromiseRejectionWarning: Error: EPERM: operation not permitted, symlink '2.0.3' -> 'latest'". When meeting this problem. You can run two steps in the cmd.exe as an ADMINISTRATOR MEMBER.
yarn build
to build source code into dist directory.python -m SimpleHTTPServer 8000
, when your python version is 3 use :python3 -m http.server 8000
instead.If you have higher version of node installed, you may consider nvm
to allow different versions of node
coexisting on your machine.
nvm install v18.12.1
to install node v18nvm use v18.12.1
to switch the working environment to node v18Then you are all set to run and build the website. Follow the build instruction above for the details.
git add .
to commit all the changes.*.md
Make sure each .md starts with the following texts:
--- title: title keywords: keywords1,keywords2, keywords3 description: some description ---
Best Regards.
Thanks for reading :)