# rttys **Repository Path**: esifi/rttys ## Basic Information - **Project Name**: rttys - **Description**: No description available - **Primary Language**: Go - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-08-02 - **Last Updated**: 2025-09-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 1. --安装go,需要1.24以上版本 ``` sudo add-apt-repository ppa:longsleep/golang-backports sudo apt-get install golang-go ``` --如果要安装指定版本 sudo apt-get install golang-1.24-go --如果add-apt-repository不存在,通过以下命令安装进行按照: ``` sudo apt-get install software-properties-common sudo apt-get update ``` 2. --设置go模块代理 ``` --export GO111MODULE=on --export GOPROXY="https://goproxy.io,direct" ``` --sudo 需要使用-w ``` sudo go env -w GO111MODULE='on' sudo go env -w GOPROXY="https://goproxy.io,direct" ``` --或者 `export GOPROXY="https://goproxy.io,direct"` 3. --下载rttys `git clone https://gitee.com/esifi/rttys.git` --维护模块依赖的整洁性 `go mode tidy` --验证模块依赖的完整性和安全性 `go mode verify` 4. --切换到webui目录 ``` cd rttys cd ui ``` --安装node版本管理插件 `sudo npm instlal -g n` 5. --安装node v18.20.7版本,注意尽量是这个版本,其他版本可能无法生成 `sudo n v18.20.7` 6. --安装npm模块 `sudo npm install` 7. --生成前端代码 `npm run build` 8. --切换到rttys代码 `cd ..` 9. --生成 `sudo ./build.sh linux amd64`