在国内,由于`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