Skip to content

基于Golang 1.20.3和Beego 2.0.0的 ES 3DEditor 项目后端代码.

License

Notifications You must be signed in to change notification settings

mlt131220/ES3DEditorGoBack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ES3DEditorGoBack

🌍 简体中文

基于Golang 1.20.3Beego 2.0.0ES 3DEditor 项目后端代码.

Static Badge Static Badge Static Badge

快速开始

   git clone https://github.com/mlt131220/ES3DEditorGoBack

Tips:

  • 数据库使用 MySQL,表结构文件位于 static/lib/sql/ed-3d-editor.sql
  • 修改 conf/app.confsql::conn 项为自己的数据库连接,格式为用户名:密码@tcp(地址:端口)/数据库?charset=utf8&loc=Local
  • 修改 conf/app.confdev::cadDwgConverterAbPath 项为本地CAD Dwg转换器执行程序文件夹绝对路径,转换程序使用 libredwg(已包含在项目static/lib/libredwg文件夹);
  • conf/app.conf 下其它配置项(Revit转换服务配置/又拍云配置...)按需求改动;
  • 如果开发环境下运行接口均报错404,请运行 bee generate routers 重新生成注解路由文件;

运行

    bee run -downdoc=true -gendoc=true

Tips:

  • bee 工具安装
  • -downdoc=true 启用swagger文件自动下载;-gendoc=true 启用自动生成文档;

打包

    # Linux
    bee pack -be GOOS=linux -be GOARCH=amd64
    # Windows
    bee pack -be GOOS=windows

Tips:

  • 修改conf/app.conf -> runmode = prod;

感谢🌹🌹🌹

如果本项目帮助到了你,请在这里留下你的网址,让更多的人看到。您的回复将会是我继续更新维护下去的动力。

Star History

Star History Chart

About

基于Golang 1.20.3和Beego 2.0.0的 ES 3DEditor 项目后端代码.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published