用fis和上线步骤的整理

来源:互联网 发布:淘宝促销活动可以关么? 编辑:程序博客网 时间:2024/06/05 19:29

 今天真正进行了一次上线。感觉很多东西要做。说说步骤吧。

  我们用fis上传文件要测试机上测试。修改配置文件如下

  1.<define name="testhost" value="http://cq01-image-rdtest1014.vm.baidu.com:8787"/> 定义测试主机

  2.修改<resourcereplace
                from="http://m.baidu.com"
                to="http://10.48.23.125:8087"/>
        <upload receiver="${testhost}/fisupload.php"
                from="../output"
                to="/home/img/niuben/phpui/bingo/webroot/static/img/webapp"
                isfile="true" exclude="\.html$"/>
        <upload receiver="${testhost}/fisupload.php"
                from="../output/tpl"
                to="/home/img/niuben/phpui/data/template/image-template/bdwebapp"
                isfile="true"/>

  

  上线步骤整理

    静态文件和tpl是分开上传的

      1.静态文件通过 文件上传->原文件上传栏目进行上传。

      2.模版文件通过上线管理系统->上线模块管理,

          a. 选择对应的模块

          b.输入svn地址,选择需要上线的文件,点击diff查看,上线,回归测试,更新到所有服务器中。

        

 


原创粉丝点击