Ghost Storage Adapter - Backblaze(B2) Cloud Storage
npm i b2-ghost-storage
mkdir -p ./content/adapters/storage
cp -r ./node_modules/b2-ghost-storage ./content/adapters/storage/b2-ghost-storage
`
Via GIT
`
mkdir -p ./content/adapters/storage/b2-ghost-storage
cd content/adapters/storage/b2-ghost-storage
git clone git@github.com:Marky-Gee/b2-ghost-storage.git .
npm install
`
Configuration
Add this in config."GHOST_ENVIRONMENT".js file
`
"storage": {
"active": "b2-ghost-storage",
"b2-ghost-storage": {
"accountId": "MASTERKEY_ID",
"applicationKey": "MASTER_APPLICATION_KEY",
"bucketId": "YOUR_BUCKET_ID",
"bucketName": "YOUR_BUCKET_NAME",
"subFolder": "OPTIONAL_SUBFOLDER",
"useDatedFolder":TRUE_OR_FALSE
}
}
``