ghost-s3

0.0.0 • Public • Published

Ghost S3

This is an S3 file module for Ghost blogs.

Install

npm install --save ghost-s3

Configure

In your ghost config.js file under "development" and "production" add

aws: {
    accessKeyId: 'your aws access key id>',
    secretAccessKey: 'your AWS secret access key>',
    bucket: 'your-bucket-name',
    region: 'the AWS region your bucket is in'
},

Plug In

Until Ghost has a file module system, you will have to change the file storage/index

    storage = require('./' + storageChoice);

becomes

    storage = require('ghost-s3')({
        errors: errors,
        config: require('../config')().aws
    });

Readme

Keywords

none

Package Sidebar

Install

npm i ghost-s3

Weekly Downloads

0

Version

0.0.0

License

ISC

Last publish

Collaborators

  • glenashley