node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org »

ghost-storage-adapter-b2

Ghost Storage Adapter - Backblace(B2) Cloud

This library works with current version of Ghost 0.11+

Installation

Via NPM

npm install ghost-storage-adapter-b2
mkdir -p ./content/storage
cp -r ./node_modules/ghost-storage-adapter-b2 ./content/storage/b2

Via GIT

cd content/storage
git clone git@github.com:martiendt/ghost-storage-adapter-b2.git b2

Configuration

Add this in config.js file

storage: {
    active: 'b2',
    'b2': {
        accountId: 'YOUR_ACCOUNT_ID',
        bucketId: 'YOUR_BUCKET_ID',
        bucketName: 'YOUR_BUCKET_NAME',
        key: 'YOUR_APPLICATION_KEY'
    }
}   

If you don't have an account, you can create your account here and then create your bucket.