Skip to content

Instantly share code, notes, and snippets.

@shakhmehedi
Last active September 22, 2016 03:01
Show Gist options
  • Save shakhmehedi/5da7d6e822fc3810ffcd11d4fcfb4336 to your computer and use it in GitHub Desktop.
Save shakhmehedi/5da7d6e822fc3810ffcd11d4fcfb4336 to your computer and use it in GitHub Desktop.
Magento 2: Quick References

#Install Magento cli glovally

export PATH=$PATH:/var/www/html/magento2/bin

#Enable Disable Maintanance mode Enable or disable maintenance mode

magento maintenance:enable [--ip=<ip address> ... --ip=<ip address>] | [ip=none]
magento maintenance:disable [--ip=<ip address> ... --ip=<ip address>] | [ip=none]
magento maintenance:status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment