1.0.2 • Published 8 years ago
ghost-gs v1.0.2
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.