2.0.2 • Published 5 years ago

ghost-tencent-cos v2.0.2

Weekly downloads
25
License
Anti 996
Repository
github
Last release
5 years ago

ghost-tencent-cos

A simple plugin to add Tencent Cloud Object Storage support for a Ghost Blog 2.x.

Installation

cd [path/to/ghost]
npm install --save ghost-tencent-cos

Create storage module

Create a script named "tencent-cos", content as below:

// [path/to/ghost]/content/adapters/storage/tencent-cos.js

module.exports = require('ghost-tencent-cos');

Configuration

Add a storage block to your config.${GHOST_ENVIRONMENT}.json as below:

{
  ...
  "storage": {
    "active": "tencent-cos",
    "tencent-cos": {
      "bucket": "{BucketName}-{AppId}",
      "region": "{BucketRegion}",
      "secretId": "{SecretId}",
      "secretKey": "{SecretKey}",
      "baseUrl": "{url}"
      "pathPrefix":"{pathPrefix}"
    }
  }
}

License

Read LICENSE

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago