久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

        <bdo id='Mhlr3'></bdo><ul id='Mhlr3'></ul>
        <i id='Mhlr3'><tr id='Mhlr3'><dt id='Mhlr3'><q id='Mhlr3'><span id='Mhlr3'><b id='Mhlr3'><form id='Mhlr3'><ins id='Mhlr3'></ins><ul id='Mhlr3'></ul><sub id='Mhlr3'></sub></form><legend id='Mhlr3'></legend><bdo id='Mhlr3'><pre id='Mhlr3'><center id='Mhlr3'></center></pre></bdo></b><th id='Mhlr3'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='Mhlr3'><tfoot id='Mhlr3'></tfoot><dl id='Mhlr3'><fieldset id='Mhlr3'></fieldset></dl></div>
        <legend id='Mhlr3'><style id='Mhlr3'><dir id='Mhlr3'><q id='Mhlr3'></q></dir></style></legend>
      1. <small id='Mhlr3'></small><noframes id='Mhlr3'>

      2. <tfoot id='Mhlr3'></tfoot>
      3. 如何開始從 subversion 存儲(chǔ)庫部署 PHP 應(yīng)用程序?

        How to get started deploying PHP applications from a subversion repository?(如何開始從 subversion 存儲(chǔ)庫部署 PHP 應(yīng)用程序?)
          <bdo id='a0ZXl'></bdo><ul id='a0ZXl'></ul>

                <legend id='a0ZXl'><style id='a0ZXl'><dir id='a0ZXl'><q id='a0ZXl'></q></dir></style></legend>

              • <i id='a0ZXl'><tr id='a0ZXl'><dt id='a0ZXl'><q id='a0ZXl'><span id='a0ZXl'><b id='a0ZXl'><form id='a0ZXl'><ins id='a0ZXl'></ins><ul id='a0ZXl'></ul><sub id='a0ZXl'></sub></form><legend id='a0ZXl'></legend><bdo id='a0ZXl'><pre id='a0ZXl'><center id='a0ZXl'></center></pre></bdo></b><th id='a0ZXl'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='a0ZXl'><tfoot id='a0ZXl'></tfoot><dl id='a0ZXl'><fieldset id='a0ZXl'></fieldset></dl></div>
                  <tbody id='a0ZXl'></tbody>

                <small id='a0ZXl'></small><noframes id='a0ZXl'>

                <tfoot id='a0ZXl'></tfoot>
                  本文介紹了如何開始從 subversion 存儲(chǔ)庫部署 PHP 應(yīng)用程序?的處理方法,對(duì)大家解決問題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                  問題描述

                  我聽說過部署應(yīng)用程序"這句話,聽起來比將單個(gè)更改的文件上傳到服務(wù)器要好/容易/可靠得多,但我不知道從哪里開始.

                  I've heard the phrase "deploying applications" which sounds much better/easier/more reliable than uploading individual changed files to a server, but I don't know where to begin.

                  我有一個(gè)受版本控制的 Zend Framework 應(yīng)用程序(在 Subversion 存儲(chǔ)庫中).我該如何部署"我的應(yīng)用程序?如果我有一個(gè)不想覆蓋的上傳"目錄,我該怎么辦?

                  I have a Zend Framework application that is under version control (in a Subversion repository). How do I go about "deploying" my application? What should I do if I have an "uploads" directory that I don't want to overwrite?

                  我通過第三方托管我的應(yīng)用程序,所以除了 FTP 之外我一無所知.如果其中任何一項(xiàng)涉及登錄我的服務(wù)器,請(qǐng)解釋該過程.

                  I host my application through a third party, so I don't know much other than FTP. If any of this involves logging into my server, please explain the process.

                  推薦答案

                  自動(dòng)部署 + 運(yùn)行測(cè)試到臨時(shí)服務(wù)器被稱為持續(xù)集成.這個(gè)想法是,如果您簽入破壞測(cè)試的內(nèi)容,您會(huì)立即收到通知.對(duì)于 PHP,您可能需要查看 Xinc 或 phpUnderControl

                  Automatic deploy + run of tests to a staging server is known as continuous integration. The idea is that if you check in something that breaks the tests, you would get notified right away. For PHP, you might want to look into Xinc or phpUnderControl

                  您通常想要自動(dòng)部署到生產(chǎn)環(huán)境.正常的做法是編寫一些腳本來自動(dòng)執(zhí)行任務(wù),但您仍然需要手動(dòng)啟動(dòng).您可以為此使用諸如 Phing 之類的框架或其他構(gòu)建工具(一種流行的選擇是 Capistrano),但您也可以將幾個(gè) shell 腳本混合在一起.我個(gè)人更喜歡后者.

                  You'd generally not want to automatically deploy to production though. The normal thing to do is to write some scripts that automates the task, but that you still need to manually initiate. You can use frameworks such as Phing or other build-tools for this (A popular choice is Capistrano), but you can also just whisk a few shell-scripts together. Personally I prefer the latter.

                  腳本本身可以做不同的事情,這取決于您的應(yīng)用程序和設(shè)置,但一個(gè)典型的過程是:

                  The scripts themselves could do different things, depending on your application and setup, but a typical process would be:

                  • ssh 到生產(chǎn)服務(wù)器.其余命令通過 ssh 在生產(chǎn)服務(wù)器上運(yùn)行.
                  • 運(yùn)行 svn export svn://path/to/repository/tags/RELEASE_VERSION/usr/local/application/releases/TIMESTAMP
                  • 停止服務(wù)(Apache、守護(hù)進(jìn)程)
                  • run unlink/usr/local/application/current &&ln -s/usr/local/application/releases/TIMESTAMP/usr/local/application/current
                  • 運(yùn)行 ln -s/usr/local/application/var/usr/local/application/releases/TIMESTAMP/var
                  • 運(yùn)行/usr/local/application/current/scripts/migrate.php
                  • 啟動(dòng)服務(wù)

                  (假設(shè)您的應(yīng)用程序位于 /usr/local/application/current)

                  (Assuming you have your application in /usr/local/application/current)

                  這篇關(guān)于如何開始從 subversion 存儲(chǔ)庫部署 PHP 應(yīng)用程序?的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                  【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請(qǐng)聯(lián)系我們刪除處理,感謝您的支持!

                  相關(guān)文檔推薦

                  Deadlock exception code for PHP, MySQL PDOException?(PHP、MySQL PDOException 的死鎖異常代碼?)
                  PHP PDO MySQL scrollable cursor doesn#39;t work(PHP PDO MySQL 可滾動(dòng)游標(biāo)不起作用)
                  PHP PDO ODBC connection(PHP PDO ODBC 連接)
                  Using PDO::FETCH_CLASS with Magic Methods(使用 PDO::FETCH_CLASS 和魔術(shù)方法)
                  php pdo get only one value from mysql; value that equals to variable(php pdo 只從 mysql 獲取一個(gè)值;等于變量的值)
                  MSSQL PDO could not find driver(MSSQL PDO 找不到驅(qū)動(dòng)程序)

                  <small id='zz7TZ'></small><noframes id='zz7TZ'>

                    <tbody id='zz7TZ'></tbody>
                  • <i id='zz7TZ'><tr id='zz7TZ'><dt id='zz7TZ'><q id='zz7TZ'><span id='zz7TZ'><b id='zz7TZ'><form id='zz7TZ'><ins id='zz7TZ'></ins><ul id='zz7TZ'></ul><sub id='zz7TZ'></sub></form><legend id='zz7TZ'></legend><bdo id='zz7TZ'><pre id='zz7TZ'><center id='zz7TZ'></center></pre></bdo></b><th id='zz7TZ'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='zz7TZ'><tfoot id='zz7TZ'></tfoot><dl id='zz7TZ'><fieldset id='zz7TZ'></fieldset></dl></div>

                  • <legend id='zz7TZ'><style id='zz7TZ'><dir id='zz7TZ'><q id='zz7TZ'></q></dir></style></legend>

                      <bdo id='zz7TZ'></bdo><ul id='zz7TZ'></ul>
                            <tfoot id='zz7TZ'></tfoot>
                            主站蜘蛛池模板: 大香在线伊779 | 国产一区二区在线免费播放 | 欧美亚洲高清 | 99视频免费在线 | 成人免费在线电影 | 国产一区二区影院 | www.性色| 欧美a级网站| 日韩一区二区三区在线观看视频 | 超碰日本 | 亚洲欧美一区二区三区1000 | 中文字幕日韩在线观看 | 久久久久se | 久久久久久成人 | 久久午夜视频 | 成人午夜在线观看 | www.亚洲精品 | 91久久精品一区二区二区 | 欧美久 | 成人av一区 | 一区二区三区四区国产精品 | 91免费看片神器 | 精品国产一区二区 | 日韩中文在线 | 丁香六月激情 | 亚洲精品99999 | 波多野结衣中文字幕一区二区三区 | 免费在线h视频 | 成人性生交大片 | 黄色一级大片视频 | 午夜影院在线观看 | 在线国产一区二区 | 91资源在线 | 日韩欧美第一页 | 欧美黄色一级毛片 | 免费艹逼视频 | 午夜欧美 | 国产视频91在线 | 91精品国产高清一区二区三区 | 二区高清 | 在线a视频 |