前言介紹
- 這款 WordPress 外掛「WP Deploy Flow」是 2017-05-14 上架。
- 目前有 10 個安裝啟用數。
- 上一次更新是 2017-05-15,距離現在已有 2911 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 4.6 以上版本才可以安裝。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
cli | deployment |
內容簡介
這個外掛可以管理 WordPress 網站到單一或多個伺服器的部署,不論是開發、測試或正式環境。您可於「工具」選單下的「Deploy」中新增、移除、上傳或下載環境。
需求:
rsync
若使用 SSH 並非命令列,需使用基於密鑰的身分驗證
於 wp-config.php 中或管理介面中新增以下常數。
(ENV 可為您所選擇的遠端環境之任意名稱)
DEPLOY_[ENV]_DB_HOST
DEPLOY_[ENV]_DB_USER
DEPLOY_[ENV]_DB_NAME
DEPLOY_[ENV]_DB_PORT
DEPLOY_[ENV]_DB_PASSWORD
* 環境中的資料庫 DSN
* 必填: 是,除了埠號 (預設 3306)
DEPLOY_[ENV]_SSH_DB_HOST
DEPLOY_[ENV]_SSH_DB_USER
DEPLOY_[ENV]_SSH_DB_PATH
DEPLOY_[ENV]_SSH_DB_PORT
* 若需透過 SSH 連接至目標資料庫 (大多數情況下需要)
* 必填: 否,埠號預設為 22
DEPLOY_[ENV]_SSH_HOST
DEPLOY_[ENV]_SSH_USER
DEPLOY_[ENV]_SSH_PORT
* 用於與 Rsync 同步的 SSH 主機
* 必填: 否,埠號預設為 22
DEPLOY_[ENV]_PATH
* 該環境下的伺服器路徑 (用於重新配置 WordPress 資料庫)
* 必填: 是
DEPLOY_[ENV]_URL
* 此環境的 WordPress 安裝的 Url (用於重新配置 WordPress 資料庫)
* 必填: 是
DEPLOY_[ENV]_EXCLUDES
* 將不需要同步的檔案加入排除列表。每個項目需以分號隔開。
* 必填: 否
原文外掛簡介
This is a plugin to manage deployment of WordPress sites to one or multiple servers, whether development, staging or production. Add, remove, push to, or pull from environments under Tools -> Deploy.
Requires:
rsync
If using ssh and not the command line, must use key-based authentication
Add the following constants to your wp-config.php or add them via the admin interface.
(ENV can be any name of your choosing for your remote environment)
DEPLOY_[ENV]_DB_HOST
DEPLOY_[ENV]_DB_USER
DEPLOY_[ENV]_DB_NAME
DEPLOY_[ENV]_DB_PORT
DEPLOY_[ENV]_DB_PASSWORD
* Database dsn for the environment
* Mandatory: Yes except for port (default 3306)
DEPLOY_[ENV]_SSH_DB_HOST
DEPLOY_[ENV]_SSH_DB_USER
DEPLOY_[ENV]_SSH_DB_PATH
DEPLOY_[ENV]_SSH_DB_PORT
* If you need to connect to the destination database through SSH (you probably do)
* Mandatory: No, port defaults to 22
DEPLOY_[ENV]_SSH_HOST
DEPLOY_[ENV]_SSH_USER
DEPLOY_[ENV]_SSH_PORT
* SSH host to sync with Rsync
* Mandatory: No, port defaults to 22
DEPLOY_[ENV]_PATH
* Server path for the environment (used to reconfigure the WordPress database)
* Mandatory: Yes
DEPLOY_[ENV]_URL
* Url of the WordPress install for this environment (used to reconfigure the WordPress database)
* Mandatory: Yes
DEPLOY_[ENV]_EXCLUDES
* Add files to exclude from rsync. List must be separated buy semicolons.
* Mandatory: No
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「WP Deploy Flow」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
StaticPress Auto Builder 》這個外掛提供預定建置和 WP-CLI 命令,可以讓你從控制台或排程建置網站。, 需求, , StaticPress, , https://wordpress.org/plugins/staticpress/, , , WP-CLI...。
Woo Data Updater 》這是一個 WooCommerce 外掛,可以支援使用 WP-CLI 進行資料更新。, 執行以下指令以執行 WooCommerce 資料更新的 CLI 腳本:wp wc-data update, 請確認伺服器...。