這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

WP Deploy Flow

外掛說明

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

安裝方式

  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress

常見問題集

Installation Instructions
  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈WP Deploy Flow〉的開發相關工作。

參與者

將〈WP Deploy Flow〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄