djorm-storage-gcp
v0.2.0-alpha.5
Published
Google Cloud Storage support for Djorm
Downloads
333
Readme
djorm-storage-gcp
Google Cloud Platform storage driver for Djorm
Installation
npm install --save djorm-storage-gcp
Configuration
config({
storages: {
default: {
driver: 'djorm-storage-gcp.GcpFileStorage',
basePath: '',
bucketName: 'bucket-name',
clientEmail: '[email protected]',
privateKey: '### BEGIN PRIVATE KEY ...',
projectId: 'gcp-project-id',
}
}
})