Skip to content
Vladimir Fishchenko edited this page Dec 7, 2016 · 19 revisions

quick install

linux

  1. 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

  2. Execute zf --help and ensure it works

  3. Download mage tool git clone git://github.com/hws47a/MTool.git ~/lib/MTool

  4. Use zf --setup config-file command to create ~/.zf.ini

  5. inside:
    Past into php.include_path - /home/username/lib/MTool
    Add basicloader.classes.1 = "MtoolManifest"

  6. Execute zf info mtool to ensure it’s working

  7. Browse to the magento project root and then execute tool commands

windows

  1. Download ZF
  2. Extract library path of ZF archive somewhere like C:\WebServer\home\library
  3. Add "C:\webserver\usr\local\php5" to the Windows PATH environment variable
  4. Try to execute php -v to ensure it works
  5. Extract zf.bat and zf.php from ZF archive to "C:\webserver\usr\local\php5" path
  6. Add "C:\WebServer\home\library" to php.ini include_path directive
  7. Execute zf --help and ensure it works
  8. Download mage tool archive
  9. Extract it to the library directory "C:\WebServer\home\library\MTool"
  10. On this step lib directory will contain ZendFramework and MTool
  11. Use zf --setup config-file command
  12. Paste the following line to the created file:
    basicloader.classes.1 = "MtoolManifest"
  13. Execute zf info mtool to ensure it’s working
  14. Browse to the magento project root and then execute tool commands

Mac OS 10.6 XAMPP 1.7.3 (maybe other versions of OSX and XAMPP too)

  1. Download ZF (minimal package)
  2. Extract ZF archive somewhere like /Users/username/lib/ZendFramework
  3. Create symbolic link to ZF: sudo ln -s /Users/username/lib/ZendFramework/bin/zf.sh /usr/local/bin/zf
  4. Execute zf and ensure it works
  5. 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
  6. On this step lib directory will contain ZendFramework and MTool
  7. Under the home directory create file .zf.ini (touch ~/.zf.ini)
  8. 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"
  9. Execute zf info mtool to ensure it’s working
  10. Browse to the magento project root and then execute tool commands
Clone this wiki locally