frosh/platform-bunnycdn-media-storage

This plugins allows you to use BunnyCdn as adapter for media

Installs: 13 810

Dependents: 0

Suggesters: 0

Security: 0

Stars: 8

Watchers: 2

Forks: 8

Open Issues: 2

Type:shopware-platform-plugin

3.2.0 2024-02-29 14:06 UTC

README

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.