2017 © Pedro Peláez
 

typo3-flow-package synchro

Flow (Neos) package, which gives a command to synchronize database and resources with remote instances in both directions (push and pull). Useful for fast update of the project on development context or fast upload of the changes remotely, when working on multiple instances (e.g. live, beta, local).

image

mrf/synchro

Flow (Neos) package, which gives a command to synchronize database and resources with remote instances in both directions (push and pull). Useful for fast update of the project on development context or fast upload of the changes remotely, when working on multiple instances (e.g. live, beta, local).

  • Tuesday, January 26, 2016
  • by klamparski
  • Repository
  • 1 Watchers
  • 1 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Mrf Synchro Flow package

Description

A Flow (Neos) package for synchronization of the database and resources between instances., (*1)

Useful, when you are working with multiple instances and you need a fast synchronization with other instances data, while developing new features of bugfixing on Development context., (*2)

Installation

Install via composer:, (*3)

composer require flowpack/neos-frontendlogin:~2.0, (*4)

Usage

To download database and resources from the remote instance, just run the synchro:pull command with appropriate instance name as an argument. Instance name has to be exactly the same as the name for the TYPO3.Surf package, e.g.:, (*5)

./flow synchro:pull Production, (*6)

To push database and resources to the remote instance, jus run the synchro:push command with target instance name as an argument. Same as in pull command, instance name has to be exactly the same as the name for the TYPO3.Surf package, e.g.:, (*7)

./flow synchro:push Production, (*8)

If you would like just check what commands will be executed, you can simply run the simulation by synchro:simulatePull or synchro:simulatePush commands, e.g.:, (*9)

./flow synchro:simulatePull Production, (*10)

./flow synchro:simulatePush Production, (*11)

Depending on your configuration, it may be needed to execute your Flow commands in the command line using FLOW_CONTEXT environment variable, e.g.:, (*12)

FLOW_CONTEXT=Development/Local ./flow synchro:pull Production, (*13)

FLOW_CONTEXT=Development/Local ./flow synchro:push Production, (*14)

License

Copyright (c) 2016 Karol Lamparski, (*15)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:, (*16)

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software., (*17)

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE., (*18)

Todo

  • Make it possible to work without TYPO3.Surf package (own ssh configuration will be needed), (*19)

  • Implement rollback functionality, (*20)

  • Implement possibility to block instance from pulling/pushing (to avoid overwrite production instance accidentally), (*21)

  • Implement possibility to pack (zip/tar) the data before downloading to make it faster, (*22)

  • Implement possiblity to crypt the data for downloading to make it safer, (*23)

The Versions

26/01 2016

dev-master

9999999-dev

Flow (Neos) package, which gives a command to synchronize database and resources with remote instances in both directions (push and pull). Useful for fast update of the project on development context or fast upload of the changes remotely, when working on multiple instances (e.g. live, beta, local).

  Sources   Download

MIT

The Requires

 

26/01 2016

0.9.2

0.9.2.0

Flow (Neos) package, which gives a command to synchronize database and resources with remote instances in both directions (push and pull). Useful for fast update of the project on development context or fast upload of the changes remotely, when working on multiple instances (e.g. live, beta, local).

  Sources   Download

MIT

The Requires

 

24/01 2016

0.9.1

0.9.1.0

Gives a command to synchronize database and resources with remote instances. Useful for fast update of the project on development context, when working on multiple instances (e.g. live, beta, local).

  Sources   Download

MIT

The Requires