安装
yarn or npm install
查看配置
{
"client": {
"ip": "0.0.0.0",
"port": 9001
},
"server": {
"ip": "VPS的IP地址",
"port": 9002
}
}
启动服务端
yarn server
启动客户端
yarn client
yarn or npm install
{
"client": {
"ip": "0.0.0.0",
"port": 9001
},
"server": {
"ip": "VPS的IP地址",
"port": 9002
}
}
yarn server
yarn client