In general this is written for Mac so we'll assume you have one of those, you should have the following installed.
- Magento Cloud CLI Tool (if you use Magento Cloud)
- ZSH (recommend Oh My ZSH)
- NodeJS
- ImageOptim (for the Image functions)
Clone the repo to your prefered directory and run the following command:
$: sh setup.sh
This will install 2 additional apps ansi and Google Lighthouse if you don't already have them.
Echos a bunch of information to ~/.zprofile
which you should source in your .zshrc
file with:
source ~/.zprofile
Command | Alias for or Purpose |
---|---|
recomposer |
composer install |
zrefresh |
source ~/.zshrc |
zrf |
zrefresh |
n98 |
n98-magerun2.phar |
n98-magerun |
n98-magerun2.phar |
bmage |
n98 if that's set as your $MAGENTO_CLI_TOOL default is php bin/magento |
magec |
magento-cloud |
bmage-cache |
bmage cache:flush |
bmage-dev |
m2-start-development |
bmage-fixes |
m2-fixes |
bmage-local |
m2-setup-local |
magec-db |
m2getcloudbdb |
magec-media |
m2getcloudmedia |
magec-ssh |
m2cloudssh |