Skip to content

andrewkowalik/ghost-remote-storage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ghost S3

This is an remote storage file module for Ghost blogs. Currently supports S3 and CloudFront.

Originally forked from https://github.com/screenrev/ghost-s3.

Install

npm install --save git+https://github.com/infecto/ghost-remote-storage

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
	});

About

Ghost file/image storage using S3 and Cloudfront.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published