数据库文档生成器
该工具根据给定的链接生成数据库文档,如果你嫌powerdesigner太重,那么可以试试该工具。
你可以下载release包来或者下载源代码来使用。
如果使用源代码,需要先克隆该项目后运行mvnpackage打包,然后运行发布包中bin/start.bat
运行程序后按照下面提示输入对应数据库参数:
input mysql host:127.0.0.1input mysql port:3306input database name:guns-liteinput mysql username:rootinput mysql password:root输入完成后回车,即可生成数据库文档目录${dbname}-doc,目录中文档以markdown文件为载体:
确保安装了gitbook后,进入上述文件目录的命令行窗口运行:gitbookserve
E:\\database-doc-generator-20181006100721\guns-lite-doc>gitbook serveopenssl config failed: error:02001003:system library:fopen:No such processLive reload server started on port: 35729Press CTRL+C to quit ...info: 7 plugins are installedinfo: loading plugin "livereload"... OKinfo: loading plugin "highlight"... OKinfo: loading plugin "search"... OKinfo: loading plugin "lunr"... OKinfo: loading plugin "sharing"... OKinfo: loading plugin "fontsettings"... OKinfo: loading plugin "theme-default"... OKinfo: found 15 pagesinfo: found 0 asset filesinfo: >> generation finished with success in 1.6s !Starting server ...Serving book on https://localhost:4000访问 https://localhost:4000,即可在线查看数据库文档
评论