https://github.com/sourcebroker/deployer-extended-symfony3
Deployer based deployment for Symfony3 with media and database synchronisation.
https://github.com/sourcebroker/deployer-extended-symfony3
deploy deployer deployer-recipes deployment php sb-des3 symfony symfony3
Last synced: 12 months ago
JSON representation
Deployer based deployment for Symfony3 with media and database synchronisation.
- Host: GitHub
- URL: https://github.com/sourcebroker/deployer-extended-symfony3
- Owner: sourcebroker
- License: mit
- Created: 2017-10-23T16:26:49.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-02-28T11:10:18.000Z (about 6 years ago)
- Last Synced: 2025-03-26T22:01:36.553Z (12 months ago)
- Topics: deploy, deployer, deployer-recipes, deployment, php, sb-des3, symfony, symfony3
- Language: PHP
- Homepage:
- Size: 12.7 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE.txt
Awesome Lists containing this project
README
deployer-extended-symfony3
==========================
|
.. image:: http://img.shields.io/packagist/v/sourcebroker/deployer-extended-symfony3.svg?style=flat
:target: https://packagist.org/packages/sourcebroker/deployer-extended-symfony3
.. image:: https://img.shields.io/badge/license-MIT-blue.svg?style=flat
:target: https://packagist.org/packages/sourcebroker/deployer-extended-symfony3
|
.. contents:: :local:
What does it do?
----------------
This package provides deploy task for deploying Symfony3 with deployer (deployer.org).
This "deploy" task depends on:
- `sourcebroker/deployer-extended`_ package which provides some deployer tasks that can be used for any framework or CMS
Additionally this package depends on two more packages that are not used directly for deploy but are useful
to database and media synchronization:
- `sourcebroker/deployer-extended-database`_ package which provides some php framework independent tasks
to synchronize database
- `sourcebroker/deployer-extended-media`_ package which provides some php framework independent tasks
to synchronize media
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]
.. _sourcebroker/deployer-extended: https://github.com/sourcebroker/deployer-extended
.. _sourcebroker/deployer-extended-media: https://github.com/sourcebroker/deployer-extended-media
.. _sourcebroker/deployer-extended-database: https://github.com/sourcebroker/deployer-extended-database