/Trellis_AmazonCdn

Primary LanguagePHPOpen Software License 3.0OSL-3.0

Trellis_AmazonCdn

AoePeople_AmazonCdn fork with improved image resizing and caching.

Installing

Add something like the following to your composer.json:

{
    "require": {
        "trellis/amazon-cdn": "~1.0.0",
        "magento-hackathon/magento-composer-installer": "*",
    },
    "extra": {
        "magento-root-dir": "./"
    },
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/Trellis-Inc/Trellis_AmazonCdn.git"
        },
        {
            "type": "vcs",
            "url": "https://github.com/aws/aws-sdk-php.git"
        },
        {
            "type": "composer",
            "url": "http://packages.firegento.com"
        }
    ]
}

Load the composer autoloader into Magento if you haven't done so yet. You can do this by adding the following to the <global /> node of app/etc/local.xml:

<composer_vendor_path><![CDATA[{{root_dir}}/vendor]]></composer_vendor_path>

Then issue the composer install command.

TODO