8
数据库设计开源工具-DBER
source link: http://osp.io/archives/7811
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
DBER是一款开源的数据库设计工具,基于实体连接图,支持可视化数据库结构设计、拖拽生成模型引用关系、一键导出 SQL 语句等功能。基于Javascript编写,遵守MIT开源协议。
安装使用
安装依赖.
npm install
# or
yarn install
启动开发服务:
npm run dev
# or
yarn dev
使用浏览器打开 http://localhost:3000 查看结果.
在生产模式下运行:
npm run build && npm run start
导出静态页面:
npm run gen
使用docker构建
使用以下命令来构建Docker镜像:
docker build -t dber .
然后可以用Docker或者Docker Compose来启动服务:
docker run -p 3000:3000 dber
docker-compose up -d
使用浏览器打开 http://localhost:3000 查看结果.
源代码: https://github.com/findyourmagic/dber
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK