Preparation for installation
- system requirements:支持 Linux/Windows 10+/macOS
- hardware requirement:至少1GB可用内存,无需独立GPU
- 前置安装:需先安装 Docker 环境
Installation steps
- Get the project: By
git clone https://github.com/xxnuo/MTranServer.git
或下载ZIP包获取源码 - 构建镜像:在项目目录执行
docker build -t mtranserver .
- Starting services: Run
docker run -d -p 5000:5000 mtranserver
Launch Container - Verification runs: Use
docker ps
检查服务状态
重要说明
- 首次构建需要联网下载依赖(后续可完全离线)
- 默认映射5000端口,冲突时可修改为
-p 8080:5000
et al. (and other authors) - 构建时间因网络和设备性能而异,通常需要几分钟
This answer comes from the articleMTranServer: CPU-ready offline translation serviceThe