Helper for Magento 2
- Optimize task for execute magento 2 console command
Get install file from python.org
Go to Control Panel > All Control Panel Items > System > Advanced System Settings
In the System Properties Window, Click Environment Variables > Edit PATH from User variables and add path below at the end of value string (separate by ';')
C\Python27
Copy magerun.py to python folder (C\Python2.7)
Using file with bash terminal such as gitbash, cmder, cygwin
Just type magerun.py in the root folder of magento 2 project on your terminal
magerun.py
Make sure that python installed on your OS
Run commands below to setup magerun on your system
sudo chmod u+x magerun.py
./magerun.py -i install
Just type magerun.py in the root folder of magento 2 project on your terminal
magerun.py
You can change its name depend on your mind