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

https://github.com/willhackett/ghost-gs

Ghost Google Storage
https://github.com/willhackett/ghost-gs

Last synced: about 1 month ago
JSON representation

Ghost Google Storage

Awesome Lists containing this project

README

          

# ghost-gs
Ghost Google Storage

`ghost-gs` is a Google Storage extension for Ghost Blogging platform.

##Configuration

- Create a bucket, and generate IAM credential creation from Google Cloud Console.
- Add the credentials file (`your_credential.json`) to your Ghost project.
- Ensure you add the storage provider to your `config.js`

##Storage config

```
// Add this to your production: {} or development: {} configs (or both)
"storage": {
"active": "ghost-gs",
"ghost-gs": {
projectId: '',
keyFilename: path.join(__dirname, './key.json'),
bucket: 'bucket name',
hostname: 'https://yourcdn.yourdomain.com/' // OPTIONAL: This is only required if you use a different download URL to the upload URL
}
},
```

## Changes

1.0.0 - Initial release.
1.0.1 - Switched out `google-cloud` dependency for much smaller `@google-cloud/storage` specific.