diff --git a/docs/sl交接文档.txt b/docs/sl交接文档.txt new file mode 100644 index 0000000..3225765 --- /dev/null +++ b/docs/sl交接文档.txt @@ -0,0 +1,163 @@ +交接内容: + +1.好友,聊天,工会代码 +http://git.kingsome.cn/songliang/r2.git + +2.活动服务器代码 +git@git.kingsome.cn:server/invitationServer.git + + +其他: +金蚕 + +WIFI: kingsome 密码:Welcome123 ; 腾讯企业邮箱:songliang@kingsome.cn 密码:Aa19800130; 另外下载企业微信 用邮箱登入。外卖快递地址:上海市静安区光复路581号1号楼301室(疫情期间所有外卖快递自行到门卫附近货架领取或签收) + +svn: songliang Rpp4N8wG +http://192.168.100.11/svn/kingsome/project/sourcecode/pubgv4 + +外网: +服务器环境ubuntu 20.04 +192.144.200.110 + +http://git.kingsome.cn/server_common/doc +老接口的一些文档 + +http://git.kingsome.cn/dashboard/groups + +服务器用的组 +server_common:存放公共的库 +server:存放服务器项目 +publish:存放服务器打包脚本 + + + +Git +songliang@kingsome.cn : Qwer12#$ + +Invitation Server +54.169.133.117 +Mysql: +invitartion@'%' identified by 'RYPDoDw0tlUEKL80'; game2006.cpxs8g62h0a9.ap-southeast-1.rds.amazonaws.com + +http://git.kingsome.cn/publish/invitationServer/tree/master +几个脚本说明: +boundle.sh 打包脚本(必须) +restart.sh 启动脚本(必须) +reload.sh 重新加载配置表脚本(可选) + +打包流程(发布系统里会自动执行) +1、获取代码 +git clone git@git.kingsome.cn:publish/invitationServer.git +git submodule init +git submodule update +2、获取运维配置 +svn co xxxxxx +3、运行打包脚本 +sh boundle.sh + +启动服务器: +sh restart.sh 1 1 +其中第一个参数是实例id多个实例用逗号分割 +第二个参数是节点id一般默认传1 + +比如要启动两个实例 +sh restart.sh 1,2 1 +在pm2上表现为 + +发布系统地址 +http://ops.kingsome.cn/ +账号:pentao +密码: 1978king + +钱包id校验接口 +http://market.cebg.games//webapp/index.php?c=Market&a=tokenAuth&account&token&net_id 返回的errcode=表示校验成功 + +大使服务器公网服务器接口地址: + +http://invitation.cebggame.com + +公司名:上海金蚕网络科技有限公司 +纳税人识别号:91310120067840856G +注册地址:上海市奉贤区海湾镇五四支路171号7幢237室 +联系电话:021-60752769 +开户行:招商银行股份有限公司上海东方支行 +账号:121910877010806 + +Game2006 +mysql: 192.168.100.36 +user:root +passwd:keji178 + + +php日志:/var/log/php-fpm/www-error.log + + +网站参考 + +https://www.fusionist.io/ +era7.io +stepn.com +alienworlds.io +splinterlands.com +farmersworld.io +gameta.pro +axieinfinity.com +sandbox.game + xwg.games + upland.me + planetix.com + decentraland.org + illuvium.io +https://embersword.com/ + +react three fiber +troisjs.github.io +https://www.pinterest.com/ +https://drei.pmnd.rs/?path=/story/misc-decal--decal-st + +aa1: +https://lifohome.feishu.cn/wiki/wikcn16y8AXnBBJBTkYYsaP9NNc +campaign_id: 358 + +需要记录日志到文件的话 +/data/logs/项目名称/ + +执行mydoc -p后会生成上面的文档,文档给客户端用 + + +/Users/lightings/works/jc/game2006market/server/bin_dev/web3helper +./web3helper + + +正式服连接方法 +ssh root@192.168.100.20 +ssh prod-salt-01 +ssh 54.179.9.64 + +测试服连接方法 +服务器:192.144.200.110 +62.234.46.11 + +数据库: 10.10.9.3 +用户名: root +密码:keji178 +数据库名:gamedb2006_dev_1 + +su -kingsome + + + +r2 目录 + +game-server 主逻辑目录 + app 主逻辑目录 + dao 数据库操作都在这里 + lib + servers api 接口都在这里,文档是写在代码里面的, apidoc -i . -o /var/www/r2 -f app/servers + services + util +pomelo 这是框架,相关内容要去查找相关文档 +pomelo-globalchannel-plugin 一个集群聊天的插件 +proxy 消息代理,为了适配客户端消息 + +其他都是无用和临时性的测试代码 \ No newline at end of file