2018-06-04 17:29:29 +01:00
|
|
|
# magento
|
|
|
|
|
2023-07-16 18:23:40 +01:00
|
|
|
> 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
|
|
|
|
2024-01-31 03:55:19 +00:00
|
|
|
- Enable one or more modules:
|
2018-06-04 17:29:29 +01:00
|
|
|
|
2024-01-31 03:55:19 +00:00
|
|
|
`magento module:enable {{module1 module2 ...}}`
|
2018-06-04 17:29:29 +01:00
|
|
|
|
2024-01-31 03:55:19 +00:00
|
|
|
- Disable one or more modules:
|
2018-06-04 17:29:29 +01:00
|
|
|
|
2024-01-31 03:55:19 +00:00
|
|
|
`magento module:disable {{module1 module2 ...}}`
|
2018-06-04 17:29:29 +01:00
|
|
|
|
2018-06-05 20:11:35 +01:00
|
|
|
- Update the database after enabling modules:
|
|
|
|
|
|
|
|
`magento setup:upgrade`
|
|
|
|
|
2018-06-05 09:58:38 +01:00
|
|
|
- Update code and dependency injection configuration:
|
2018-06-04 17:29:29 +01:00
|
|
|
|
2018-06-05 09:58:38 +01:00
|
|
|
`magento setup:di:compile`
|
|
|
|
|
2018-06-05 20:12:13 +01:00
|
|
|
- Deploy static assets:
|
2018-06-05 09:58:38 +01:00
|
|
|
|
|
|
|
`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`
|