|
@@ -0,0 +1,44 @@
|
|
|
|
+# 多玩人才系统
|
|
|
|
+
|
|
|
|
+开发人员:志鸿,百醇
|
|
|
|
+
|
|
|
|
+访问地址:https://hr.duowan.com/login
|
|
|
|
+
|
|
|
|
+仓库地址:http://svn.ouj.com:3000/kangheitan/talent-inventory-system.git
|
|
|
|
+
|
|
|
|
+技术栈:(node 8+)
|
|
|
|
+
|
|
|
|
+前端 create-react-app + react + react-router + mobx
|
|
|
|
+
|
|
|
|
+后端 koa2 + sequelize + mysql
|
|
|
|
+
|
|
|
|
+发布流程:
|
|
|
|
+
|
|
|
|
+前端资源build完,可直接提交发布
|
|
|
|
+
|
|
|
|
+后端代码改完后,提交一键发布后,还有上服务器(入口权限找建平)上运行node发布命令,服务端运动先运行new环境那段,没问题才执行正式环境发布
|
|
|
|
+
|
|
|
|
+## 服务器发布后端代码测试+正式
|
|
|
|
+1.找建平开通权限+申请步骤
|
|
|
|
+
|
|
|
|
+2.服务器快速连接:
|
|
|
|
+extjump.sysop.duowan.com
|
|
|
|
+![avatar](../image/cms62.png)
|
|
|
|
+
|
|
|
|
+弹出登录框-->填写登录通行证->填入安全中心
|
|
|
|
+进到当前文件夹:
|
|
|
|
+go 服务器IP
|
|
|
|
+测试环境:
|
|
|
|
+cd /data/webapps/test-hr.duowan.com/
|
|
|
|
+
|
|
|
|
+正式环境:
|
|
|
|
+221.228.105.95
|
|
|
|
+58.215.143.152
|
|
|
|
+cd /data/webapps/hr.duowan.com/
|
|
|
|
+
|
|
|
|
+启动命令:sudo supervisorctl restart hr
|
|
|
|
+命令文件:sudo cat /tmp/hr.duowan.com.log
|
|
|
|
+实时打印:sudo tail -f /tmp/hr.duowan.com.log
|
|
|
|
+
|
|
|
|
+![avatar](../image/cms63.png)
|
|
|
|
+
|