A plugin that allows for S3 to be the media storage for the platform.
First and foremost: If at any point you have questions, comments or concerns you can find us hanging out on twitter @getpencilblue and on our Sub-Reddit. We're always happy to help and pull requests (plugin or core) are always welcome.
Installation:
-
Clone repo into your PencilBlue's plugins directory.
-
Edit your config.json file to configure the media provider
{
"media": {
"provider": "/plugins/s3-pencilblue/include/s3_media_provider.js"
}
}
-
Start or restart your PB instance
-
Navigate to Manage Plugins section in PencilBlue
-
Install the s3-pencilblue plugin
-
Upon successful install click the Settings button for the s3-pencilblue plugin
-
Enter your S3 Access Key, Secret Access Key and Bucket name
-
Optionally, enter your region.
-
Click Save
You should be good to go!
NOTE: Currently there is no way to migrate data from one media provider to the other. If "uploaded" media already exists that was created from a different provider then you must delete it and upload it. You will also have to re-link any system objects that rely on that media until you can replace the content for a media object. See pencilblue/pencilblue#218