motherjones/plugin-publish-s3

Name: plugin-publish-s3

Owner: Mother Jones

Description: Datawrapper plugins that publishes charts to an Amazon S3 bucket

Created: 2014-06-26 21:59:42.0

Updated: 2014-08-10 19:33:37.0

Pushed: 2014-07-08 21:36:26.0

Homepage: null

Size: 156

Language: PHP

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

plugin-publish-s3

Datawrapper plugins that publishes charts to an Amazon S3 bucket.

To configure:

  1. Set up an S3 bucket with the correct CORS permissions. Several examples are available here: http://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html
  2. Add your bucket name, access key and secret key to the main Datawrapper configuration file.
  3. Clone this repository into /plugins/publish-s3
  4. Install the plugin: `php scripts/plugin.php install publish-s3

Available configuration settings:

ins:
blish-s3:
accesskey: <access key>
secretkey: <secret key>
bucket: <bucket name>
alias: <URL to use instead of the default Amazon S3 bucket URL>
endpoint: <custom endpoint, in case the typical S3 endpoint doesn't work>

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.