mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 14:53:59 +02:00
magento: add additional command examples
This commit is contained in:
parent
54ab80bef1
commit
a14c47535a
1 changed files with 18 additions and 2 deletions
|
@ -2,6 +2,10 @@
|
|||
|
||||
> A CLI for managing the Magento PHP framework.
|
||||
|
||||
- Update the database after enabling modules:
|
||||
|
||||
`magento setup:upgrade`
|
||||
|
||||
- Enable one or more space-separated modules:
|
||||
|
||||
`magento module:enable {{module(s)}}`
|
||||
|
@ -10,9 +14,21 @@
|
|||
|
||||
`magento module:disable {{module(s)}}`
|
||||
|
||||
- Update the database after enabling modules:
|
||||
- Update code and dependency injection configuration:
|
||||
|
||||
`magento setup:upgrade`
|
||||
`magento setup:di:compile`
|
||||
|
||||
- Deploy static view files:
|
||||
|
||||
`magento setup:static-content:deploy`
|
||||
|
||||
- Enable maintenance mode:
|
||||
|
||||
`magento maintenance:enable`
|
||||
|
||||
- Disable maintenance mode:
|
||||
|
||||
`magento maintenance:disable`
|
||||
|
||||
- List all available commands:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue