mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-17 06:00:35 +00:00
Update cheatsheets
This commit is contained in:
41
magento
Normal file
41
magento
Normal file
@@ -0,0 +1,41 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# magento
|
||||
|
||||
> Manage the Magento PHP framework.
|
||||
> More information: <https://magento.com>.
|
||||
|
||||
- Enable one or more modules:
|
||||
|
||||
`magento module:enable {{module1 module2 ...}}`
|
||||
|
||||
- Disable one or more modules:
|
||||
|
||||
`magento module:disable {{module1 module2 ...}}`
|
||||
|
||||
- Update the database after enabling modules:
|
||||
|
||||
`magento setup:upgrade`
|
||||
|
||||
- Update code and dependency injection configuration:
|
||||
|
||||
`magento setup:di:compile`
|
||||
|
||||
- Deploy static assets:
|
||||
|
||||
`magento setup:static-content:deploy`
|
||||
|
||||
- Enable maintenance mode:
|
||||
|
||||
`magento maintenance:enable`
|
||||
|
||||
- Disable maintenance mode:
|
||||
|
||||
`magento maintenance:disable`
|
||||
|
||||
- List all available commands:
|
||||
|
||||
`magento list`
|
||||
Reference in New Issue
Block a user