dolphinscheduler website
1.0.0
该项目保留了用于建立Dolphinscheduler的官方网站的所有资源,该网站可在https://dolphinscheduler.apache.org/上提供。
yarn以安装依赖项。export PROTOCOL_MODE=ssh通过SSH协议告诉Git克隆资源,而不是HTTPS协议2.2。运行./scripts/prepare_docs.sh准备所有相关资源,有关更多信息,您可以看到如何准备脚本工作yarn generate以格式化并持续数据。yarn dev以启动本地服务器,您将在'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'".
If you get the exception "Can't resolve 'antd' in xxx",you can run `yarn add antd` and `yarn install`.
Because the two steps run command `./scripts/prepare_docs.sh` should Linux environment,so if you are a windwos system you can use WSL do it.
When meeting this problem. You can run two steps in the cmd.exe as an ADMINISTRATOR MEMBER.
yarn build以将源代码构建到DIST目录。python -m SimpleHTTPServer 8000 ,当您的Python版本为3时,请使用: python3 -m http.server 8000 。如果安装了更高版本的节点,则可以考虑使用nvm以允许在计算机上共存的不同版本的node 。
nvm install v18.12.1以安装节点V18nvm use v18.12.1将工作环境切换为节点V18然后,您都将运行并构建网站。请按照上面的构建指令获取详细信息。
git add .提交所有更改。*.md确保每个.MD以以下文本开头:
---
title: title
keywords: keywords1,keywords2, keywords3
description: some description
---
此致。
感谢您的阅读:)