0.0.1 • Published 9 years ago

ghost-riakcs-storage v0.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

Ghost Riak CS Storage

This module allows you to store Ghost media files at any Riak CS instance.

Installation

npm install --save ghost-riakcs-storage

Create storage module

Create the file content/storage/ghost-riakcs.js (manually create folder if not exist) with the following contents:

'use strict';
module.exports = require('ghost-riakcs-storage');

Configuration

Add storage block to file config.js in each environment as below:

storage: {
	active: 'ghost-riakcs',
	'ghost-riakcs': {
		keyId: 'your_access_key_here',
		keySecret: 'your_secret_key_here',
		bucket: '_your_bucket_name_here',
		hostname: 'hostname_of_your_Riak_CS_instance',
		protocol: 'http_or_https'
	}
},