Skip to main content
Version: 7.x

magento2

Source

Configuration#

static_content_locales#

Source

By default setup:static-content:deploy uses en_US. To change that, simply put set('static_content_locales', 'en_US de_DE'); in you deployer script.

Default value
'en_US'

content_version#

Source

shared_files#

Source

Overrides shared_files from recipe/common.php.

Default value
[    'app/etc/env.php',    'var/.maintenance.ip',]

shared_dirs#

Source

Overrides shared_dirs from recipe/common.php.

Default value
[    'var/composer_home',    'var/log',    'var/export',    'var/report',    'var/import',    'var/import_history',    'var/session',    'var/importexport',    'var/backups',    'var/tmp',    'pub/sitemap',    'pub/media']

writable_dirs#

Source

Overrides writable_dirs from recipe/deploy/writable.php.

Default value
[    'var',    'pub/static',    'pub/media',    'generated']

clear_paths#

Source

Overrides clear_paths from recipe/common.php.

Default value
[    'generated/*',    'pub/static/_cache/*',    'var/generation/*',    'var/cache/*',    'var/page_cache/*',    'var/view_preprocessed/*']

magento_version#

Source

maintenance_mode_status_active#

Source

Tasks#

magento:compile#

Source

Compile magento di.

Tasks

magento:deploy:assets#

Source

Deploy assets.

magento:sync:content_version#

Source

Sync content version.

magento:maintenance:enable#

Source

Enable maintenance mode.

magento:maintenance:disable#

Source

Disable maintenance mode.

magento:config:import#

Source

Config Import.

magento:upgrade:db#

Source

Upgrade magento database.

magento:cache:flush#

Source

Flush Magento Cache.

deploy:magento#

Source

Magento2 deployment operations.

This task is group task which contains next tasks:

deploy#

Source

Deploy your project.

This task is group task which contains next tasks: