Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/martiendt/ghost-storage-adapter-b2
- Owner: martiendt
- License: mit
- Created: 2017-03-25T03:18:56.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-04T10:16:34.000Z (over 7 years ago)
- Last Synced: 2024-10-12T10:46:52.039Z (3 months ago)
- Topics: b2, b2-cloud-storage, ghost, ghost-storage-adapter
- Language: JavaScript
- Size: 7.81 KB
- Stars: 19
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ghost Storage Adapter - Backblaze(B2) Cloud
This library works with current version of Ghost 1.x.xUse 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.