sourcebroker/deployer-extended-symfony3

Deployer.org based deployment for Symfony3 with media and database synchronisation.

2.0.1 2020-02-28 11:05 UTC

This package is auto-updated.

Last update: 2024-03-28 20:22:58 UTC


README

image

image

local

What does it do?

This package provides deploy task for deploying Symfony3 with deployer (deployer.org).

This "deploy" task depends on:

Additionally this package depends on two more packages that are not used directly for deploy but are useful to database and media synchronization:

Installation

  1. Install with composer: :

    composer require sourcebroker/deployer-extended-symfony3
  2. If you are using deployer as composer package then just put following line in your deploy.php: :

    new \SourceBroker\DeployerExtendedSymfony3\Loader();
  3. If you are using deployer as phar then put following lines in your deploy.php: :

    require_once(__DIR__ . '/vendor/sourcebroker/deployer-loader/autoload.php');
    new \SourceBroker\DeployerExtendedSymfony3\Loader();
  4. Remove task "deploy" from your deploy.php. Otherwise you will overwrite deploy task defined in vendor/SourceBroker/deployer-extended-symfony3/deployer/deploy/task/deploy.php

Synchronizing database

Database synchronization is done with sourcebroker/deployer-extended-database.

The command for synchronizing database from live media to local instance is: :

dep db:pull [instance]

Synchronizing media

Media synchronization is done with sourcebroker/deployer-extended-media.

The command for synchronizing local media folders with live media folders is: :

dep media:pull [instance]