forked from dankocherga/MTool
-
Notifications
You must be signed in to change notification settings - Fork 3
quick install
Vladimir Fishchenko edited this page Dec 7, 2016
·
19 revisions
-
Install ZF:
For debian:apt-get install zend-framework-bin
For others:
Download ZF version 1 (minimal package)
Extract ZF archive somewhere like ~/lib/ZendFramework
Create symbolic link to ZF:sudo ln -s ~/lib/ZendFramework/bin/zf.sh /usr/local/bin/zf
Make zf executable:sudo chmod +x /usr/local/bin/zf
-
Execute
zf --help
and ensure it works -
Download mage tool
git clone git://github.com/hws47a/MTool.git ~/lib/MTool
-
Use
zf --setup config-file
command to create ~/.zf.ini -
inside:
Past into php.include_path - /home/username/lib/MTool
Add basicloader.classes.1 = "MtoolManifest" -
Execute
zf info mtool
to ensure it’s working -
Browse to the magento project root and then execute tool commands
- Download ZF
- Extract library path of ZF archive somewhere like C:\WebServer\home\library
- Add "C:\webserver\usr\local\php5" to the Windows PATH environment variable
- Try to execute
php -v
to ensure it works - Extract zf.bat and zf.php from ZF archive to "C:\webserver\usr\local\php5" path
- Add "C:\WebServer\home\library" to php.ini include_path directive
- Execute
zf --help
and ensure it works - Download mage tool archive
- Extract it to the library directory "C:\WebServer\home\library\MTool"
- On this step lib directory will contain ZendFramework and MTool
- Use
zf --setup config-file
command - Paste the following line to the created file:
basicloader.classes.1 = "MtoolManifest"
- Execute
zf info mtool
to ensure it’s working - Browse to the magento project root and then execute tool commands
- Download ZF (minimal package)
- Extract ZF archive somewhere like /Users/username/lib/ZendFramework
- Create symbolic link to ZF:
sudo ln -s /Users/username/lib/ZendFramework/bin/zf.sh /usr/local/bin/zf
- Execute
zf
and ensure it works - Download mage tool archive and extract it to the library directory /Users/username/lib/MTool OR clone this repo to the /Users/username/lib folder using Github for Mac
- On this step lib directory will contain ZendFramework and MTool
- Under the home directory create file .zf.ini (
touch ~/.zf.ini
) - Paste the following 2 lines inside:
php.include_path=".:/Users/username/lib/MTool:/Users/username/lib/ZendFramework/library:/usr/bin/pear" basicloader.classes.1 = "MtoolManifest" - Execute
zf info mtool
to ensure it’s working - Browse to the magento project root and then execute tool commands