本地开发
我们欢迎各种贡献,不论大小。本指南将帮助你入门。
最后更新于
git clone https://github.com/yourusername/checkcle.git
cd checkcle#Web 应用
cd application/
npm install && npm run dev
#服务器后端
cd server
./pocketbase serve --dir pb_data
如果您不使用 localhost,请使用此命令运行(./pocketbase serve --http=0.0.0.0:8090 --dir pb_data)。#服务器后端
启动服务操作(检查 PING、HTTP、TCP、DNS 服务)
cd server/service-operation
go run main.go(当连接为 localhost 时,您无需更改 .env)#### 1. Fork 仓库
在 [GitHub](https://github.com/operacle/Distributed-Regional-Monitoring) 上点击“Fork”以创建您自己的副本。
#### 2. 克隆您的 Fork
git clone --branch main https://github.com/operacle/Distributed-Regional-Monitoring.git
cd Distributed-Regional-Monitoring
#### 3. 安装 Go 服务(确保您已安装 Go)
复制 .env.example -> .env
在 .env 文件中更改区域代理配置
然后运行:go run main.go