码迷,mamicode.com
首页 > 其他好文 > 详细

mark_2017_2_27

时间:2017-02-27 15:44:49      阅读:373      评论:0      收藏:0      [点我收藏+]

标签:推送   主机名   好的   远程   服务   新建   remove   nginx服务器   pen   

工作总结
web_acl
535 git clone “ssh://git@outergit.yonyou.com:49622/esn_web/web_acl.git"
600 git branch wulongchao_timestamp_17_01_11
601 git checkout wulongchao_timestamp_17_01_11
643 git commit -m ‘add modify timestamp’
647 git push origin guorunhe_timestamp_17_01_11
1.配置nginx服务器,在service下增加配置文件,启动nginx服务器(百度)
2.增加php redis服务(百度)
3.安装git,并将项目从仓库clone下来
1)在hosts下增加:172.16.75.71 outergit.yonyou.com
2)若果没有权限的话就去找国栋哥增加权限
3)git clone ”ssh://git@outergit.yonyou.com:49622/esn_web/web_acl.git“
4)新建分支
5)修改代码
6)commit
7)推送代码
4.config下的config.php-dist、redis.php-dist和lib/yycenterSDK/const.php-dist修改为相应的.php
5.访问url并进行代码编写、调试
6.将编写好的代码提交至仓库
service
hg clone 主机名
356 hg up default
357 hg branch wulongchao_timestamp_17_01_11
358 hg branch
359 hg pull https://hgcode.upesn.com/services/service_esn_plugins_pengzhaoxia -e pzx_merge
360 hg merge pzx_merge
361 hg ci -m ‘合并‘
1.编写代码
2.将代码提交到朝霞哥的分支
3.对代码进行调试
必须注意代码风格。

开通端口号

esn_plugins redis配置

无法添加模块问题

添加资源模块 编辑超级管理员权限


web_acl走自己的端口

改web端的config文件夹下的config.php

‘EsnPlugins‘ => array(
‘uri‘ => ‘172.20.1.177:6002‘,
‘user‘ => ‘Esn‘,
‘secret‘ => ‘{1BA09530-F9E6-478D-9965-7EB31A59537E}‘,
),
把uri改成自己的端口号
‘EsnPlugins‘ => array(
‘uri‘ => ‘172.20.1.177:5719‘,
‘user‘ => ‘Esn‘,
‘secret‘ => ‘{1BA09530-F9E6-478D-9965-7EB31A59537E}‘,
),
提示请先登录主站问题 要登录ssh

memberToolBar 分页

where 1=1 是为了避免where 关键字后面的第一个词直接就是 “and”而导致语法错误。
!empty($s) && $aCond[‘s‘] = $s; 只有在$s不为空的情况下 $aCond[‘s‘] = $s;
不然$aCond[‘s‘]不存在
ajax 常见的一种效果,在用ajax请求时,没有返回前会出现前出现一个转动的loading小图标或者“内容加载中..”,用来告知用户正在请求数据。这个就可以用beforeSend方法来实现。
jQuery fadeOut 淡出

增删改查
1.判断参数
2.sql语句
3.参数条件数组

ssh://git@outergit.yonyou.com:49622/esn_service/service_esn_plugins.git
<script>

var a = [3,4,5,6,7,8,9];

$.each(a,function(index,item){

// index是索引值(即下标) item是每次遍历得到的值;
if(item==7){
a.splice(index,1);
}
});
</script>
删除节点最后一个元素
$(".new-version-num").last().remove();


git clone ssh://git@outergit.yonyou.com:49622/esn_service/service_esn_plugins.git
$ git push <远程主机名> <本地分支名>:<远程分支名>

git 提交代码
git clone ssh://git@outergit.yonyou.com:49622/wulc1/service_esn_plugins.git
cd service_esn_plugins
git branch
git branch wulongchao_version_2017_2_24
git checkout wulongchao_version_2017_2_24
git branch
然后把修改的代码拷进去提交代码
git status
git add .
git commit -m "版本信息"
git push ssh://git@outergit.yonyou.com:49622/wulc1/service_esn_plugins.git wulongchao_version_2017_2_24(本地分支名):wulongchao_version_2017_2_24(远程分支,不存在自动创建)


git上传 要上传到主分支地址


提交到主分支上才能被国栋哥提交到91上

git clone ssh://git@outergit.yonyou.com:49622/esn_service/service_esn_plugins.git(主分支地址)
git branch wulongchao_2017_2_25
git checkout wulongchao_version_2017_2_25
git status
git add .
git commit -m "版本信息"
git push ssh://git@outergit.yonyou.com:49622/esn_service/service_esn_plugins.git(主分支地址) wulongchao_version_2017_2_25

mark_2017_2_27

标签:推送   主机名   好的   远程   服务   新建   remove   nginx服务器   pen   

原文地址:http://www.cnblogs.com/jasonxiaoqinde/p/6474512.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!