Skip to content

sourcebroker/deployer-extended-symfony5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deployer-extended-symfony5

https://img.shields.io/badge/license-MIT-blue.svg?style=flat

This package provides deploy task for deploying Symfony5 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:

  1. Install with composer:

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

    new \SourceBroker\DeployerExtendedSymfony5\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\DeployerExtendedSymfony5\Loader();
    
  4. Remove task "deploy" from your deploy.php. Otherwise you will overwrite deploy task defined in vendor/SourceBroker/deployer-extended-symfony5/deployer/deploy/task/deploy.php

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]

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]

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages