Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/martiendt/ghost-storage-adapter-b2

Ghost Storage Adapter - Backblaze(B2) Cloud Storage
https://github.com/martiendt/ghost-storage-adapter-b2

b2 b2-cloud-storage ghost ghost-storage-adapter

Last synced: 3 months ago
JSON representation

Ghost Storage Adapter - Backblaze(B2) Cloud Storage

Awesome Lists containing this project

README

        

# Ghost Storage Adapter - Backblaze(B2) Cloud
This library works with current version of Ghost 1.x.x

Use version 2.x.x for ghost 1.x.x

Use version 1.x.x for ghost 0.x.x

## Installation

Via NPM
```
npm install ghost-storage-adapter-b2
mkdir -p ./content/adapters/storage
cp -r ./node_modules/ghost-storage-adapter-b2 ./content/adapters/storage/b2
```

Via GIT
```
mkdir -p ./content/adapters/storage/b2
cd content/adapters/storage/b2
git clone [email protected]:martiendt/ghost-storage-adapter-b2.git .
npm install
```

## Configuration
Add this in `config."GHOST_ENVIRONMENT".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](https://www.backblaze.com) and then create your bucket.