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
---
此致。
感謝您的閱讀:)