Title: WP Deploy Flow
Author: Tyler Shuster
Published: <strong>2017 年 5 月 15 日</strong>
Last modified: 2017 年 5 月 15 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/wp-deploy-flow.svg)

# WP Deploy Flow

 作者：[Tyler Shuster](https://profiles.wordpress.org/tylershuster/)

[下载](https://downloads.wordpress.org/plugin/wp-deploy-flow.zip)

 * [详情](https://cn.wordpress.org/plugins/wp-deploy-flow/#description)
 * [评价](https://cn.wordpress.org/plugins/wp-deploy-flow/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/wp-deploy-flow/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/wp-deploy-flow/#developers)

 [支持](https://wordpress.org/support/plugin/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」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Tyler Shuster ](https://profiles.wordpress.org/tylershuster/)

[帮助将「WP Deploy Flow」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/wp-deploy-flow)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/wp-deploy-flow/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/wp-deploy-flow/)，或通过[RSS](https://plugins.trac.wordpress.org/log/wp-deploy-flow/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/wp-deploy-flow/)。

## 额外信息

 *  版本 **0.1**
 *  最后更新：**9 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 4.6 或更高版本 **
 *  已测试的最高版本为 **4.7.33**
 *  语言
 * [English (US)](https://wordpress.org/plugins/wp-deploy-flow/)
 * 标签
 * [cli](https://cn.wordpress.org/plugins/tags/cli/)[deployment](https://cn.wordpress.org/plugins/tags/deployment/)
 *  [高级视图](https://cn.wordpress.org/plugins/wp-deploy-flow/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/wp-deploy-flow/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/wp-deploy-flow/reviews/)

## 贡献者

 *   [ Tyler Shuster ](https://profiles.wordpress.org/tylershuster/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/wp-deploy-flow/)