1.4.10 • Published 2 years ago

s3-ghost v1.4.10

Weekly downloads
3
License
MIT
Repository
github
Last release
2 years ago

S3 Ghost

Ghost AWS S3 Storage Adapter

  • Use AWS Javascript SDK v3.
  • Default cache control: cache in 3 weeks.

How to

From your parent directory of the content directory (ghost root by default). Run following script

rm -rf content/adapters/storage/s3-ghost
mkdir content/adapters/storage/s3-ghost
cd content/adapters/storage/s3-ghost
yarn init -y
yarn add s3-ghost
cp node_modules/s3-ghost/index.js .
rm -rf node_modules/s3-ghost package.json yarn.lock
  • In config.production.json add configuration as follows. All keys are required
    "storage": {
        "active": "s3-ghost",
        "s3-ghost": {
            "accessKeyId": "<AWS key>",
            "secretAccessKey": "<AWS Secret key>",
            "bucketName": "<bucket name>",
            "region": "<region>",
            "assetsBaseUrl": "<CDN url or s3 url>",
            "ghostDirectory": "../../../.."
        }

Note: ghostDirectory is the directory where ghost is installed. It must be an absolute path or relative path to the location where this plugin is installed

1.4.10

2 years ago

1.4.6

4 years ago

1.4.5

4 years ago

1.4.4

4 years ago

1.4.3

4 years ago

1.4.2

4 years ago

1.4.1

4 years ago

1.4.0

4 years ago

1.4.9

3 years ago

1.4.8

3 years ago

1.4.7

4 years ago

1.3.0

4 years ago

1.2.3

4 years ago

1.2.0

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.1.0

5 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago