1 Star 0 Fork 136

阿刚炖蛋 / database-doc-generator

forked from enilu / database-doc-generator 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

database-doc-generator

数据库文档生成器

  • 该工具根据给定的链接生成数据库文档,如果你嫌powerdesigner太重,那么可以试试该工具。

  • 支持的数据库类型:

    • MySQL
    • Oracle
    • SQLServer
    • MongoDB
    • PostgreSQL
  • 你可以下载release包来或者下载源代码来使用。

  • 如果使用源代码,需要先克隆该项目后运行mvn package打包,然后运行发布报中bin/start.bat

  • 运行程序后按照下面提示输入对应数据库参数:

choose database:
1:mysql
2:oracle
3:PostgreSQL
Select the appropriate numbers choose database type
(Enter 'c' to cancel): 3
input database name:
gunslite
input host:
localhost
input port:
5432
input username:
enilu
input password:
123456
  • 输入完成后回车,即可生成数据库文档目录${dbname}-doc,目录中文档有三种形式:单文件html,word,markdown

其中markdown可以用来生成html用于在线查看数据库文档:

doc

  • 确保安装了gitbook后,进入上述文件目录的命令行窗口运行:gitbook serve
E:\\database-doc-generator-20181006100721\guns-lite-doc>gitbook serve
openssl config failed: error:02001003:system library:fopen:No such process
Live reload server started on port: 35729
Press CTRL+C to quit ...

info: 7 plugins are installed
info: loading plugin "livereload"... OK
info: loading plugin "highlight"... OK
info: loading plugin "search"... OK
info: loading plugin "lunr"... OK
info: loading plugin "sharing"... OK
info: loading plugin "fontsettings"... OK
info: loading plugin "theme-default"... OK
info: found 15 pages
info: found 0 asset files
info: >> generation finished with success in 1.6s !

Starting server ...
Serving book on http://localhost:4000

summary

table

MIT License Copyright (c) 2020 enilu Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

数据库文档成成器,根据数据库表DDL生成markdown文档,如果你觉得powerdesigener太重,可以试试这个小工具;目前支持mysql、oracle,如果你有其他需求,可以提issue或者评论 展开 收起
Java
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Java
1
https://gitee.com/agangdundan/database-doc-generator.git
git@gitee.com:agangdundan/database-doc-generator.git
agangdundan
database-doc-generator
database-doc-generator
master

搜索帮助