2017 © Pedro Peláez
 

elgg-plugin elgg_copy

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

image

beck24/elgg_copy

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

  • Wednesday, January 20, 2016
  • by beck24
  • Repository
  • 1 Watchers
  • 1 Stars
  • 17 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 9 Versions
  • 0 % Grown

The README.md

Elgg Copy

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., (*1)

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?, (*2)

Installation

Clone/unzip the elgg_copy plugin to mod/elgg_copy on both the development install and the master install, (*3)

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., (*4)

Check the boxes corresponding to what should be copied from master - mod/data/database, (*5)

No settings are required on the master installation., (*6)

Usage

A button will be added to the admin control widget. Clicking that button will initiate the sync from master., (*7)

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., (*8)

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., (*9)

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., (*10)

This is a tool of convenience, use at your own risk., (*11)

Notes

The database prefix must be the same on both installations, (*12)

The Versions

20/01 2016

dev-master

9999999-dev https://github.com/beck24/elgg_copy

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

  Sources   Download

GPL-2.0

The Requires

 

by Matt Beckett

plugin development dev copy elgg clone

20/01 2016

1.12.x-dev

1.12.9999999.9999999-dev https://github.com/beck24/elgg_copy

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

  Sources   Download

GPL-2.0

The Requires

 

by Matt Beckett

plugin development dev copy elgg clone

20/01 2016

2.0.1

2.0.1.0 https://github.com/beck24/elgg_copy

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

  Sources   Download

GPL-2.0

The Requires

 

by Matt Beckett

plugin development dev copy elgg clone

20/01 2016

1.8.x-dev

1.8.9999999.9999999-dev https://github.com/beck24/elgg_copy

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

  Sources   Download

GPL-2.0

The Requires

 

by Matt Beckett

plugin development dev copy elgg clone

20/01 2016

1.0.2

1.0.2.0 https://github.com/beck24/elgg_copy

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

  Sources   Download

GPL-2.0

The Requires

 

by Matt Beckett

plugin development dev copy elgg clone

14/01 2016

3.0.0

3.0.0.0 https://github.com/beck24/elgg_copy

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

  Sources   Download

GPL-2.0

The Requires

 

by Matt Beckett

plugin development dev copy elgg clone

25/11 2015

1.0.1

1.0.1.0 https://github.com/beck24/elgg_copy

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

  Sources   Download

GPL-2.0

The Requires

 

by Matt Beckett

plugin development dev copy elgg clone

25/11 2015

2.0.0

2.0.0.0 https://github.com/beck24/elgg_copy

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

  Sources   Download

GPL-2.0

The Requires

 

by Matt Beckett

plugin development dev copy elgg clone

25/11 2015

1.0.0

1.0.0.0 https://github.com/beck24/elgg_copy

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

  Sources   Download

GPL-2.0

The Requires

 

by Matt Beckett

plugin development dev copy elgg clone