-
Notifications
You must be signed in to change notification settings - Fork 111
源码简介
wangqi edited this page Jun 2, 2022
·
11 revisions
本文对 Scaleph 项目的源码进行介绍。
工欲利其事,必先利其器,一个好的源码阅读工具是必不可少的。
开发者阅读源码时,习惯于先 fork
,在 clone
到本地,导入 IDE,受限于网络环境,很多人的源码阅读可能直接在 fork
环节阻碍而直接胎死腹中。
在这里,推荐几种在浏览器中进行源码阅读的方式:
- github1s。将 https://github.com/flowerfine/scaleph 更改为 https://github1s.com/flowerfine/scaleph,即可在浏览器中获取 vscode 风格的源码阅读体验。
- 在线 vscode 编辑器。包括 github、vscode、redhat 在内的很多厂商都提供在线 web IDE 功能,调试运行程序一般需要额外收费,对于只阅读源码则足够使用。
-
github。在项目页面,键盘点击点号(
.
),github 会为用户创建免费的代码空间,将用户重定向到 https://github.dev/flowerfine/scaleph。 - vscode。与 github.dev 类似,在浏览器中打开 https://vscode.dev/github/flowerfine/scaleph。
-
github。在项目页面,键盘点击点号(
- 浏览器插件。在浏览器应用商店中搜索
GitHub Web IDE
,安装后可以在 github 页面Open in Web IDE
按钮,点击下拉,上面介绍的几种在浏览器阅读源码方法都能支持。
源码目录如下:
scaleph
├── docs
├── scaleph-api
│ └── Dockerfile
├── scaleph-common
├── scaleph-core
│ ├── scaleph-core-di
│ └── scaleph-core-scheduler
├── scaleph-dao
├── scaleph-engine
│ └── scaleph-engine-seatunnel
├── scaleph-meta
├── scaleph-plugins
│ ├── scaleph-plugin-datasource
│ ├── scaleph-plugin-framework
│ └── scaleph-plugin-seatunnel-native-flink
├── scaleph-security
├── scaleph-support
│ ├── scaleph-cache
│ ├── scaleph-generator
│ ├── scaleph-log
│ ├── scaleph-mail
│ ├── scaleph-privilege
│ ├── scaleph-storage
│ └── scaleph-system
├── scaleph-ui
│ └── Dockerfile
└── tools
├── checkstyle
├── docker
├── kubernetes
└── spotbugs
Welcome to Scaleph wiki!