Pear for 1.4, mage for 1.5. File downloaded into /downloader/.cache/community/
./pear download magento-community/Shipping_Agent
./mage download community Shipping_Agent
| <?php | |
| /** | |
| * Set global/skip_process_modules_updates to '1' in app/etc/local.xml and | |
| * then use this script to apply updates and refresh the config cache without | |
| * causing a stampede on the config cache. | |
| * | |
| * @author Colin Mollenhour | |
| */ | |
| umask(0); | |
| ini_set('memory_limit','512M'); |
| mkdir demo | |
| cd demo | |
| wget http://www.magentocommerce.com/downloads/assets/1.8.1.0/magento-1.8.1.0.tar.gz | |
| wget http://www.magentocommerce.com/downloads/assets/1.6.1.0/magento-sample-data-1.6.1.0.tar.gz | |
| tar -zxvf magento-1.8.1.0.tar.gz | |
| tar -zxvf magento-sample-data-1.6.1.0.tar.gz | |
| mv magento-sample-data-1.6.1.0/media/* magento/media/ | |
| mv magento-sample-data-1.6.1.0/magento_sample_data_for_1.6.1.0.sql magento/data.sql | |
| mv magento/* magento/.htaccess . | |
| chmod o+w var var/.htaccess app/etc |
| body { | |
| font: 12px verdana; | |
| background-color: #5C87B2; | |
| } | |
| form { | |
| max-width: 400px; | |
| padding: 15px; | |
| background-color: white; | |
| } |
| <?php | |
| /* This script generates a mapping of factory methods/parameters to the resulting class | |
| * names in such a way that PhpStorm 6.0.1 can use for autocompletion and chaining. | |
| * | |
| * Example: | |
| * cd [magento root] | |
| * php ~/makePhpstormMap.php > .phpstorm.meta.php | |
| * | |
| */ |