Download the PHP package webgriffe/deployer-magento without Composer
On this page you can find all versions of the php package webgriffe/deployer-magento. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download webgriffe/deployer-magento
More information about webgriffe/deployer-magento
Files in webgriffe/deployer-magento
Package deployer-magento
Short Description Deployer recipe for Magento project
License MIT
Informations about the package deployer-magento
Magento 1.x Deployer Recipe
Deployer recipe for Magento project. It requires Deployer greater or equal to version 5.0
.
Install
Install it using Composer:
$ composer require --dev webgriffe/deployer-magento
Usage
Require the recipe in your deploy.php
:
Caution
Please, refer to the magento.php
file to check the provided shared directories and files. Make sure that these don't conflict with your project. Even when you upgrade webgriffe/deployer-magento
please check the shared stuff. We do not treat a different shared configuration as a BC break.
Configuration
This recipe provides the following Deployer parameters that you can set in your local deploy.php
file:
media_pull_exclude_dirs
, default value['css', 'css_secure', 'js']
: allows to set a list of subdirectories of themedia
folder that will be excluded from themagento:media-pull
task.setup-run-timeout
, default value300
: allows to set the timeout for themagento:setup-run
task which in some cases takes more time.db_pull_strip_tables
, default value['@stripped']
: allows to set an array of table names or groups which data will be stripped from the database dump generated with themagento:db-pull
task. Table names or groups syntax follow the same rules of the--strip
option of then98-magerun.phar db:dump
, see the magerun documentation for more information.magerun_remote
, default valuen98-magerun.phar
: allows to set the path of the magerun bin on the remote stage.magerun_local
, default valuegetenv('DEPLOYER_MAGERUN_LOCAL') ?: 'n98-magerun.phar'
: allows to set the path of the local magerun bin. As you can see the default value is taken from theDEPLOYER_MAGERUN_LOCAL
environment variable if it's set, otherwisen98-magerun.phar
will be used.
Magento useful tasks
This recipe provides Magento useful tasks:
magento:db-dump
: creates a gzipped database dump on the remote stage in the deploy user's home directorymagento:db-pull
: pulls database from the remote stage to local environmentmagento:media-pull
: pulls Magento media from the remote stage to local environmentmagento:set-copy-deploy-strategy
: sets the "copy" deploy strategy for Magento Composer Installer into the composer.json file.
License
This library is under the MIT license. See the complete license in the LICENSE file.
Credits
Developed by Webgriffe®. Please, report to us any bug or suggestion by GitHub issues.