当前位置:网站首页>Automatically generate code generator recommendation-code-gen
Automatically generate code generator recommendation-code-gen
2022-08-02 12:59:00 【Atty says】
I. Introduction
- Name: code-gen
- Type: Code Generation Tool
- Official website address: https://gitee.com/durcframework/code-gen?_from=gitee_search
- Brief description: A code generation tool that can customize templates to generate different codes, and supports MySQL, Oracle, SQL Server, and PostgreSQL.
Second, problems solved
Support multiple data sources, support custom templates, provide common entity classes, mybatis interfaces, and mybatis configuration file templates, which can quickly develop mybatis applications.
III. Instructions/practical use cases
Self-build
Need to install Maven3, Java8
Automatic build [recommended]:
Mac/Linux system can directly execute build.sh to build, the build result is in the dist/gen folder.Manual build:
Prerequisite: install nodejs, Java8, maven3cd front
Executenpm install --registry=https://registry.npm.taobao.org
Executenpm run build:prodcd ..
Executemvn clean package, agen-1.0.0-SNAPSHOT.jarwill be generated undergen/target(xx represents this number)
Thegen-1.0.0-SNAPSHOT.jaris placed underdist/gen, make sure the jar and view are in the same directory
Executejava -jar gen-xx-SNAPSHOT.jar
Browser accesshttp://localhost:6969/Build multiplatform
Install multiplatform buildx :docker buildx create --use --name m1_builder
View and start the builder instance:docker buildx inspect --bootstrap
Package and push multi-platform images at once
Package and push multi-platform images:docker buildx build -t tanghc2020/gen --platform=linux/amd64,linux/arm64/v8. --push
or package and save locally
package x64 platform image locally:docker buildx build -t tanghc2020/gen --platform=linux/amd64 -o type=docker
Package the arm64 platform image locally:docker buildx build -t tanghc2020/gen --platform=linux/arm64/v8 -o type=docker
Quick run:docker run -d -p 6969:6969 tanghc2020/gen

Four. Disadvantages and deficiencies
It needs local deployment, command start, not the form of the overall client, cannot be double-clicked to start, not very friendly
V. Summary
The overall structure is clear, the template can be customized, and multiple data sources can be customized. These two characteristics are very good
边栏推荐
猜你喜欢

qt 编译报错 No rule to make target

FreeRTOS--栈实验

如何更好评估信用贷风险?看这场评分卡模型直播就可以了

js真3d柱状图插件

C语言结构体(入门)

np.nan, np.isnan, None, pd.isnull, pd.isna finishing and summary

Taurus.MVC V3.0.3 Microservice Open Source Framework Released: Make the evolution of .NET architecture easier in large concurrency.

ETL(二):表达式组件的使用

路由-嵌套路由

Js scratchable latex style draw plug-in
随机推荐
np.nan, np.isnan, None, pd.isnull, pd.isna finishing and summary
你知道图论的spfa吗?
pig4cloud服务架构使用
Seata分布式事务
TFRecord简介,原理分析,代码实现?[通俗易懂]
路由-嵌套路由
单例模式的七种写法,你都知道吗?
SQL Server2019安装步骤及脱机安装Microsoft机器学习组件下一步不能继续的问题
zabbix automated monitoring script
自动生成代码器推荐-code-gen
Js scratchable latex style draw plug-in
Pod Scheduling Strategy: Affinity, Stain and Stain Tolerance
Drools(8): WorkBench uses
瀑布流式布局怎么实现(什么是瀑布流布局)
To eliminate air bubbles to save the mushroom h5 small game source code
Basic operations of openGauss database (super detailed)
photo-sphere-viewer中文文档
js semi-circle loading progress animation js special effects
sql concat() function
设置代理服务器(谷歌+IE)「建议收藏」