当前位置:网站首页>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
边栏推荐
- PHP+MYSQL [Student Information Management System] (Minimalist Edition)
- Seata分布式事务
- Four seasons of trees realized by svg
- Intouch System Platform IDE-1
- svg气球升起爆炸js特效
- How to use the database like tap water?|Tencent Cloud Database TDSQL-C
- Intouch Historian历史曲线配置导入导出
- selenium chrome driver运行时的cannot determine loading status from target frame detached问题
- svg balloon rises explosion js special effect
- Taurus.MVC V3.0.3 微服务开源框架发布:让.NET 架构在大并发的演进过程更简单。
猜你喜欢

SQL Server如何建表

unique in numpy & pandas

你知道图论的spfa吗?

pig4cloud服务架构使用

qt 编译报错 No rule to make target

微信小程序getPhoneNumber接口code=40013

Object.entries()

FreeRTOS experiment--one function creates multiple tasks

SQL Server 2019 installation error 0 x80004005 service there is no timely response to the start or control request a detailed solution

图论之Floyd,多源图最短路如何暴力美学?
随机推荐
php——三篇夯实根基第一篇
最小割和对偶图(未完成)
js秒表倒计时插件
SQL Server 数据库之生成与执行 SQL 脚本
Intelligent Image Analysis-Intelligent Home Appliance Image Target Detection Statistical Counting Detection and Recognition-iCREDIT
FreeRTOS--Priority Experiment
php字符串的截取方式
ThinkPHP 5.1反序列化分析和poc
如何关闭开启硬件加速[通俗易懂]
FreeRTOS创建任务--动态创建、静态创建
企业用直播平台能实现什么
.Net 5.0快速上手 Redis
Seneor Exposure Basics
Openlayers Quick Start Tutorial
kvm部署
js semi-circle loading progress animation js special effects
OpenFeign设置header的3种方式
Wireless vibrating wire acquisition instrument remote modification method
FreeRTOS creation tasks - dynamic creation, static creation
麻烦问一下,对mysql 场景注入故障,是不是不是对mysql server 端注入故障,只是对ja