承接 beck24/elgg_copy 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

beck24/elgg_copy

Composer 安装命令:

composer require --dev beck24/elgg_copy

包简介

A tool to sync data between a production and develpment elgg instance

README 文档

README

A tool for cloning an elgg installation from a master installation (production?) to a development installation. The development installation will request all components of the installation from the master installation. They will be downloaded, configured, and replace the existing data on dev. This is useful when you need to get the latest code from a production site while trying to debug something.

Note that this uses some system commands such as mysqldump, gzip, curl, etc and will likely not work for windows. Who's using windows for dev anyway?

Installation

Clone/unzip the elgg_copy plugin to mod/elgg_copy on both the development install and the master install

On the settings page a "Request Key" will be generated. Copy the request key from the master installation to the plugin settings of dev. Enter the URL of the master installation in the plugin settings of dev.

Check the boxes corresponding to what should be copied from master - mod/data/database

No settings are required on the master installation.

Usage

A button will be added to the admin control widget. Clicking that button will initiate the sync from master.

Security

Master will only provide the data to download on a hard-to guess URL based on a cryptographic request key. This key can be regenerated in the settings of master if there is reason to think it has been compromised. It is recommended, however, that this plugin should be disabled on master the majority of the time and only activated when a sync needs to happen.

The ability to sync the mod directory requires the mod directory of the dev environment to be writable by the server. This isn't recommended for production but should be fine for a local dev environment.

One additional note - the entire contents of the site will be transferred over standard http protocol, it is recommended that this only be used on production sites that are secured with ssl.

This is a tool of convenience, use at your own risk.

Notes

The database prefix must be the same on both installations

统计信息

  • 总下载量: 24
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2015-11-24

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固