forked from dankocherga/MTool
-
Notifications
You must be signed in to change notification settings - Fork 3
quick install
hws47a edited this page May 28, 2011
·
19 revisions
- Download ZF (minimal package)
- Extract ZF archive somewhere like /home/username/lib/ZendFramework
- Create symbolic link to ZF:
ln -s /home/username/lib/ZendFramework/bin/zf.sh /usr/local/bin/zf
- Execute
zf --help
and ensure it works - Download mage tool archive
- Extract it to the library directory /home/username/lib/MTool
- On this step lib directory will contain ZendFramework and MTool
- Under the home directory create file ~/.zf.ini
- Paste the following 2 lines inside:
php.include_path=".:/home/username/lib/MTool:~/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
- 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 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