/FroshPlatformBunnycdnMediaStorage

This plugin allows you to use BunnyCDN as a media storage.

Primary LanguagePHPMIT LicenseMIT

BunnyCDN Adapter for Shopware 6

Software License Shopware Store

The BunnyCDN adapter allows you to manage your media files in shopware on a bunnyCDN-Storage.

Install

By composer

composer require frosh/platform-bunnycdn-media-storage

By zip

download latest release and upload into admin:
https://github.com/FriendsOfShopware/FroshPlatformBunnycdnMediaStorage/releases/latest/download/FroshPlatformBunnycdnMediaStorage.zip

Usage

  • Upload existing media (optional)
    • by SCP from shell:
      • log via SSH into you webspace and go into your shopware folder
      • run following commands (Replace STORAGEZONENAME) and confirm with the FTP-Password of your storage-zone
        scp -r ./public/media STORAGEZONENAME@storage.bunnycdn.com:/
        scp -r ./public/thumbnail STORAGEZONENAME@storage.bunnycdn.com:/
        
    • Manual by FTP-Client: see docs at BunnyCDN.
  • Remove any existing configuration regarding filesystem in config/packages/shopware.yml
  • Set up plugin config

Notes on Automatic Deployments

The plugin configuration is stored in var/bunnycdn_config.yml. You must ensure that this file is shared and available in this location after deployment after you configured the plugin once.

Suggestions

License

The MIT License (MIT). Please see License File for more information.