当前位置:Gxlcms >
数据库问题 >
基于Three.js、Go语言和MongoDB的免费开源的3D场景编辑器简介
基于Three.js、Go语言和MongoDB的免费开源的3D场景编辑器简介
时间:2021-07-01 10:21:17
帮助过:26人阅读
github.com/tengge1/ShadowEditor.git
在国内,由于`github`比较慢,可以使用gitee。
git clone https://gitee.com/tengge1/ShadowEditor.git
如果你需要C#版本,可以切换到`v0.4.6-csharp`分支,但是该版本不再维护
git checkout -b csharp origin/v0.4.6-csharp
在Ubuntu上构建
1. 如果你在国内, 执行
make proxy设置go语言和nodejs代理。
2. 执行
make构建服务端和Web端。
3. 编辑
build/config.toml,修改数据库host和port设置。
4. 执行
make run启动服务端。现在你可以访问:
http://localhost:2020。
在Windows上构建
1. 如果你在国内,双击scripts文件夹中的
set_proxy.bat。
2. 双击
scripts文件夹中的
build.bat。
3. 编辑
build文件夹中的
config.toml,修改数据库host和port配置。
4. 双击
build文件夹中的
ShadowEditor.exe。现在你可以访问:
http://localhost:2020。
安装为Ubuntu服务
1. 编辑
./scripts/service_linux/shadoweditor.service,设置正确的路径。
2. 执行
make service安装shadoweditor服务。
3. 执行
sudo systemctl start shadoweditor启动服务。
4. 执行
sudo systemctl enable shadoweditor设置开机自启动。
安装为Windows服务
1. 以管理员身份运行
scripts/service_win文件夹中的
install.bat。
2. 编辑
scripts/service_win文件夹中的
service.reg,设置
AppDirectory为build文件夹的绝对路径。
3. 双击
scripts/service_win文件夹中的
service.reg。
4. 打开
Windows服务管理器,启动
ShadowEditor服务。
相关链接
源码1:https://github.com/tengge1/ShadowEditor
源码2:https://gitee.com/tengge1/ShadowEditor
文档1:https://tengge1.github.io/ShadowEditor/
文档2:https://tengge1.gitee.io/shadoweditor/
示例1:https://tengge1.github.io/ShadowEditor-examples/
示例2:http://tengge1.gitee.io/shadoweditor-examples/
演示视频:https://www.bilibili.com/video/av78428475?seid=9203731141485399611
基于Three.js、Go语言和MongoDB的免费开源的3D场景编辑器简介
标签:服务管理 ola git java 文件 版本 arp 背景音乐 english