dolphinscheduler website
1.0.0
โครงการนี้ช่วยให้ทุกแหล่งที่ใช้ในการสร้างเว็บไซต์ทางการของ Dolphinscheduler ซึ่งให้บริการที่ https://dolphinscheduler.apache.org/
yarn ในไดเรกทอรีรากเพื่อติดตั้งการพึ่งพาexport PROTOCOL_MODE=ssh บอกทรัพยากร GIT โคลนผ่านโปรโตคอล SSH แทน HTTPS Protocol 2.2 run ./scripts/prepare_docs.sh เตรียมทรัพยากรที่เกี่ยวข้องทั้งหมดสำหรับข้อมูลเพิ่มเติมคุณจะเห็นวิธีการเตรียมสคริปต์yarn generate ในไดเรกทอรีรากเพื่อจัดรูปแบบและ perpare ข้อมูล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 เพื่อสร้างซอร์สโค้ดลงในไดเรกทอรี DISTpython -m SimpleHTTPServer 8000 เมื่อเวอร์ชัน Python ของคุณคือ 3 USE: python3 -m http.server 8000 แทน หากคุณติดตั้งโหนดเวอร์ชันที่สูงขึ้นคุณอาจพิจารณา nvm เพื่ออนุญาตให้อยู่ร่วมกัน node ในเวอร์ชันต่าง ๆ บนเครื่องของคุณ
nvm install v18.12.1 เพื่อติดตั้งโหนด v18nvm use v18.12.1 เพื่อสลับสภาพแวดล้อมการทำงานเป็นโหนด v18จากนั้นคุณพร้อมที่จะเรียกใช้และสร้างเว็บไซต์ ทำตามคำสั่ง Build ด้านบนเพื่อดูรายละเอียด
git add . เพื่อกระทำการเปลี่ยนแปลงทั้งหมด*.mdตรวจสอบให้แน่ใจว่า. MD แต่ละตัวเริ่มต้นด้วยข้อความต่อไปนี้:
---
title: title
keywords: keywords1,keywords2, keywords3
description: some description
---
ขอแสดงความนับถือ
ขอบคุณสำหรับการอ่าน :)