tldr/pages/common/magento.md

37 lines
649 B
Markdown
Raw Normal View History

2018-06-04 17:29:29 +01:00
# magento
> Manage the Magento PHP framework.
2019-06-04 10:25:06 +01:00
> More information: <https://magento.com>.
2018-06-04 17:29:29 +01:00
- Enable one or more space-separated modules:
`magento module:enable {{module(s)}}`
- Disable one or more space-separated modules:
`magento module:disable {{module(s)}}`
- Update the database after enabling modules:
`magento setup:upgrade`
- Update code and dependency injection configuration:
2018-06-04 17:29:29 +01:00
`magento setup:di:compile`
- Deploy static assets:
`magento setup:static-content:deploy`
- Enable maintenance mode:
`magento maintenance:enable`
- Disable maintenance mode:
`magento maintenance:disable`
2018-06-04 17:29:29 +01:00
- List all available commands:
`magento list`