2017 © Pedro Peláez
 

library meedia

Compressed synchronisation between live and development environments.

image

rozbehsharahi/meedia

Compressed synchronisation between live and development environments.

  • Thursday, December 21, 2017
  • by RozbehSharahi
  • Repository
  • 3 Watchers
  • 0 Stars
  • 1,711 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 6 Versions
  • 15 % Grown

The README.md

Meedia

A tool for creating dummy media files based on live environments., (*1)

Build Status, (*2)

Introduction

Meedia will provide dummy media files for dev-environments by connecting to a live setup via SSH and creating a configuration tree to generate example dummy images in the right proportions., (*3)

Additional dummy generators can be added by configuration., (*4)

The tool contains an meedia:install and meedia:update command, which will work fine for integrating it into review environments and continues integration systems., (*5)

This project is still in progress and experimental. In the future following features shall be added:, (*6)

  • Add default video dummy generator
  • Implement fast mode for syncing only files that have changed.

Installation

composer require rozbehsharahi/meedia --dev, (*7)

Commands

Initialize your ssh connection to live, (*8)

php vendor/rozbehsharahi/meedia/meedia.php meedia:init, (*9)

Test configured connection, (*10)

php vendor/rozbehsharahi/meedia/meedia.php meedia:test-connection, (*11)

Install media files either by lock or sync., (*12)

php vendor/rozbehsharahi/meedia/meedia.php meedia:install, (*13)

Update media files by syncing from live., (*14)

php vendor/rozbehsharahi/meedia/meedia.php meedia:update, (*15)

Fetch image sizes with ImageMagick/GraphicsMagick

On default meedia fetches image sizes through ImageTreeBuilder by ImageMagick's identify command. In case the live servers has GraphicsMagick installed, you can set useGraphicsMagick property on your configuration to use gm identify instead., (*16)

{
  // ...
  "useGraphicsMagick": true
  // ...
}

Requirements

  • PHP 7.1 (cli) on local environment
  • SSH2 php extension
  • ImageMagick on live server
  • Linux developing system (Windows and MAC not tested yet)

The Versions

21/12 2017

dev-master

9999999-dev

Compressed synchronisation between live and development environments.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Rozbeh Chiryai Sharahi

21/12 2017

0.1.2

0.1.2.0

Compressed synchronisation between live and development environments.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Rozbeh Chiryai Sharahi

12/11 2017

0.1.1

0.1.1.0

Compressed synchronisation between live and development environments.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Rozbeh Chiryai Sharahi

29/10 2017

0.1.0

0.1.0.0

Compressed synchronisation between live and development environments.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Rozbeh Chiryai Sharahi

22/10 2017

0.0.2

0.0.2.0

Compressed synchronisation between live and development environments.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Rozbeh Chiryai Sharahi

22/10 2017

0.0.1

0.0.1.0

Compressed synchronisation between live and development environments.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Rozbeh Chiryai Sharahi