ckanext-asset-storage

Store CKAN assets (org / group images) to cloud storage
This CKAN extension moves storage of uploaded asset files - specifically, organization
and group logos and the site logo, to a cloud storage backend. It is designed to be
flexible as it allows for different storage backends, and may support additional storage
backends in the future.
NOTE This does not handle resource storage at all. For offloading resource storage,
we recommend using ckanext-blob-storage.
Requirements
- This extension works with CKAN 2.8.x and CKAN 2.9.x. It may work, but has not been tested, with other CKAN versions.
- You need to have access to a supported Cloud Storage account to store assets in
Supported Storage Backends include:
* Google Cloud Storage
* Azure Blob Storage
* AWS S3 (NOT YET)
* Local Storage (mainly for testing and fallback purposes)
Installation
To install ckanext-asset-storage:
- Activate your CKAN virtual environment, for example:
. /usr/lib/ckan/default/bin/activate
- Install the ckanext-asset-storage Python package into your virtual environment:
pip install ckanext-asset-storage
Add asset_storage to the ckan.plugins setting in your CKAN
config file (by default the config file is located at
/etc/ckan/default/production.ini).
Restart CKAN. For example if you’ve deployed CKAN with Apache on Ubuntu:
sudo service apache2 reload
Configuring This Extension
CKAN INI Options
The followin