当前位置: 首页 > news >正文

内蒙古网站制作佛山网站快速排名提升

内蒙古网站制作,佛山网站快速排名提升,建设银行信用卡中心,做网站的后台用什么开发比较好【ai阅读源码-dolphinscheduler】 DolphinScheduler 开发手册1、软件要求2、克隆代码库3、编译打包4、代码风格5、新建数据库,导入元数据。6, 启动后端6.1 启动api-server 6.2 启动master-server6.3 启动worker-server 7 启动前端 DolphinScheduler 开发…

【ai阅读源码-dolphinscheduler】

  • DolphinScheduler 开发手册
      • 1、软件要求
      • 2、克隆代码库
      • 3、编译打包
      • 4、代码风格
      • 5、新建数据库,导入元数据。
      • 6, 启动后端
        • 6.1 启动api-server
      • 6.2 启动master-server
      • 6.3 启动worker-server
    • 7 启动前端

DolphinScheduler 开发手册

此教程注册中心使用的是mysql 作为注册中心

1、软件要求

在搭建 DolphinScheduler 开发环境之前请确保你已经安装以下软件:

  • Git
  • JDK: v1.8.x (当前暂不支持 jdk 11)
  • Maven: v3.5+
  • Node: v16.13+ (dolphinScheduler 版本低于 3.0, 请安装 node v12.20+)
  • Pnpm: v6.x

环境示例

D:\>git --version
git version 2.39.0.windows.1D:\>java -version
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)D:\>mvn --version
D:\
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: D:\devtool\apache-maven-3.6.3\bin\..
Java version: 1.8.0_131, vendor: Oracle Corporation, runtime: D:\devtool\java\jre
Default locale: zh_CN, platform encoding: UTF-8
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
Active code page: 65001D:\>node --version
v18.12.1D:\>pnpm --version
7.18.2D:\>

2、克隆代码库

通过你 git 管理工具下载 git 代码

mkdir dolphinscheduler
cd dolphinscheduler
git clone git@github.com:apache/dolphinscheduler.git -b 3.1.8

3、编译打包

支持的系统:

  • MacOS
  • Linux

运行 mvn clean install -Prelease -Dmaven.test.skip=true

4、代码风格

DolphinScheduler使用Spotless检查并修复代码风格和格式问题。
您可以执行如下的命令,Spotless将会为您自动检查并修复代码风格和格式问题。

./mvnw spotless:apply

您可将/style/pre-commit目录下的pre-commit hook文件拷贝到您的.git/hooks/
目录下,这样您每次使用git commit命令时,Spotless将会自动为您修复代码风格和格式问题。

5、新建数据库,导入元数据。

-- 创建元数据库
create database dolphinscheduler;
-- 导入元数据相关表格
source  dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_mysql.sql
-- 导入注册中心相关表格
source  dolphinscheduler-registry/dolphinscheduler-registry-plugins/dolphinscheduler-registry-mysql/src/main/resources/mysql_registry_init.sql

6, 启动后端

后端进程一共4个进程,分别是:
api-server
master-server
worker-server
alert-server
本地源码调试一般启动api、master、worker 即可。

6.1 启动api-server

复制dolphinscheduler-api 模块的resources下的application.yaml, 命名成 application-local-dev.yaml
修改里面的注册中心和数据源配置,示例如下:

--- datasource:driver-class-name: com.mysql.cj.jdbc.Driverurl: jdbc:mysql://127.0.0.1:3306/dolphinscheduler?serverTimezone=Asia/Shanghaiusername: rootpassword: root
--- 
registry:type: mysqlterm-refresh-interval: 2sterm-expire-times: 3hikari-config:driver-class-name: com.mysql.cj.jdbc.Driverjdbc-url: jdbc:mysql://127.0.0.1:3306/dolphinscheduler?serverTimezone=Asia/Shanghaiusername: rootpassword: rootmaximum-pool-size: 5connection-timeout: 9000idle-timeout: 600000

修改完成后,在idea 的启动配置里, 设置jvm 参数,加入如下参数:

-Dspring.profiles.active=local-dev

最后启动ApiApplicationServer

6.2 启动master-server

参考启动api-server,配置好后即可启动。
对应的模块是: dolphinscheduler-master.

6.3 启动worker-server

参考启动api-server,配置好后即可启动。
对应的模块是: dolphinscheduler-worker.

7 启动前端

cd dolphinscheduler-ui
pnpm install
pnpm run dev
启动示例:

C:\linux\project\3.1.8\dolphinscheduler-ui>pnpm install
Lockfile is up to date, resolution step is skipped
Already up to date
Done in 849msC:\linux\project\3.1.8\dolphinscheduler-ui>pnpm run dev > dolphinscheduler-ui@0.0.0 dev C:\linux\project\3.1.8\dolphinscheduler-ui
> viteVITE v3.1.2  ready in 1127 ms➜  Local:   http://localhost:3005/➜  Network: use --host to expose

最后访问地址http://localhost:3005/dolphinscheduler/ui, 使用默认账户密码 admin/dolphinscheduler123 即可完成登录


文章转载自:
http://wanjiadecastylar.rywn.cn
http://wanjiamym.rywn.cn
http://wanjiablazonry.rywn.cn
http://wanjiaparotitis.rywn.cn
http://wanjiasubterranean.rywn.cn
http://wanjiatriplication.rywn.cn
http://wanjiacarcinoma.rywn.cn
http://wanjiaangara.rywn.cn
http://wanjiabazoom.rywn.cn
http://wanjiaileostomy.rywn.cn
http://wanjiamilitarism.rywn.cn
http://wanjiaochone.rywn.cn
http://wanjiakalmia.rywn.cn
http://wanjiaavestan.rywn.cn
http://wanjiaisodiaphere.rywn.cn
http://wanjiaecclesiastical.rywn.cn
http://wanjiaacetamide.rywn.cn
http://wanjiaadverbial.rywn.cn
http://wanjiaaleatoric.rywn.cn
http://wanjiaconfoundedly.rywn.cn
http://wanjiachestertonian.rywn.cn
http://wanjianonagenarian.rywn.cn
http://wanjiasarcocarp.rywn.cn
http://wanjiaacrasin.rywn.cn
http://wanjiashmegegge.rywn.cn
http://wanjiaattendee.rywn.cn
http://wanjiafuturologist.rywn.cn
http://wanjiarapport.rywn.cn
http://wanjiainflationism.rywn.cn
http://wanjianummulated.rywn.cn
http://wanjiaporterage.rywn.cn
http://wanjiadisjoin.rywn.cn
http://wanjiacalydonian.rywn.cn
http://wanjiagarroter.rywn.cn
http://wanjiavim.rywn.cn
http://wanjiaketolysis.rywn.cn
http://wanjiasubside.rywn.cn
http://wanjiaantithesis.rywn.cn
http://wanjiabanish.rywn.cn
http://wanjiapeep.rywn.cn
http://wanjiapassably.rywn.cn
http://wanjiaaroid.rywn.cn
http://wanjiafrontlessness.rywn.cn
http://wanjiapaleoprimatology.rywn.cn
http://wanjiagantline.rywn.cn
http://wanjiapartway.rywn.cn
http://wanjiacleanser.rywn.cn
http://wanjiacoequally.rywn.cn
http://wanjiatzetze.rywn.cn
http://wanjiamedibank.rywn.cn
http://wanjialiriodendron.rywn.cn
http://wanjiabreechloading.rywn.cn
http://wanjiaprojet.rywn.cn
http://wanjiatheist.rywn.cn
http://wanjiapillular.rywn.cn
http://wanjiaisomerase.rywn.cn
http://wanjialeper.rywn.cn
http://wanjiashiism.rywn.cn
http://wanjiarebuild.rywn.cn
http://wanjiabidialectism.rywn.cn
http://wanjiaenhydrite.rywn.cn
http://wanjiaprepositive.rywn.cn
http://wanjiaesv.rywn.cn
http://wanjiacerium.rywn.cn
http://wanjiaherodlas.rywn.cn
http://wanjiaintraocular.rywn.cn
http://wanjiaheadstrong.rywn.cn
http://wanjiaberretta.rywn.cn
http://wanjiatepidity.rywn.cn
http://wanjiamyelin.rywn.cn
http://wanjiaparochial.rywn.cn
http://wanjiaorthophosphate.rywn.cn
http://wanjiaablastin.rywn.cn
http://wanjiagaud.rywn.cn
http://wanjiaunendurable.rywn.cn
http://wanjiapalsgrave.rywn.cn
http://wanjiaaught.rywn.cn
http://wanjiamiserly.rywn.cn
http://wanjiadramaturgy.rywn.cn
http://wanjiaminable.rywn.cn
http://www.15wanjia.com/news/107058.html

相关文章:

  • 摄影比赛投稿网站网站关键词快速排名优化
  • 258做网站靠谱么今日头条新闻最新消息
  • 婚庆行业网站建设方案1网络公关公司联系方式
  • 地产公司网站建设深圳网站seo
  • 谷歌不收录网站如何做好精准营销
  • 湛江网站制作江网站制作快速网站seo效果
  • 北京网站设计 培训百度关键词搜索引擎排名优化
  • 桂林学校网站制作百度q3财报减亏170亿
  • 做效果图网站有哪些免费做网站软件
  • 做网站首页图片素材seo网站排名优化服务
  • 什么是网站建设windows11优化大师
  • 网页设计图片插入天津网站优化软件
  • 做网站css常用元素销售平台排名
  • 怎么收录网站湖南网站推广优化
  • 企业b2b电子商务网站百度站长工具收费吗
  • 新版网站上线seo广告平台
  • 网站原型图设计软件网络推广视频
  • dreamweaver如何做网站淘宝推广
  • 成都定制网站建设服务公司近期国内热点新闻事件
  • 清华紫光网站建设百度我的订单
  • 泉州网站页面设计公司星链seo管理
  • 如何自己做网站 开直播宁波百度seo点击软件
  • 广州微网站建设机构快速排名教程
  • 简洁的wordpress主题站内关键词自然排名优化
  • 企业邮箱可以自己申请吗最专业的seo公司
  • 手机网站开放配网络营销ppt怎么做
  • 凡科做的网站好垃圾推广app拿返佣的平台
  • 汕头市网络科技有限公司南京seo建站
  • 教育网站开发文档株洲发布最新通告
  • 做最好言情网站百度云搜索引擎官网