Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

ghost-storage-adapter-b2

1.0.0 • Public • Published

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.

install

npm i ghost-storage-adapter-b2

Downloadsweekly downloads

1

version

1.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar