fma16-ghost-azure-storage
v1.3.1
Published
This is only for testing purposes. Please look for the package ghost-azure-storage.
Downloads
4
Maintainers
Readme
Ghost Azure
This module is only used for testing purposes. If you're looking for the original implementation, go check https://github.com/tparnell8/ghost-azurestorage. Thanks a lot!
Installation
npm install --save ghost-azure-storage
Create storage module
Create index.js file with folder path 'content/storage/ghost-azurestorage/index.js' (manually create folder if not exist)
'use strict';
module.exports = require('ghost-azure-storage');
Configuration
Create new azure storage account, and get the connection string (can be found in the preview portal)
Add storage
block to file config.js
in each environment as below:
storage: {
active: 'ghost-azurestorage',
'ghost-azurestorage': {
connectionString: 'YourConnectionStringHere',
container: 'YourOptionalContainerName',
cdnUrl: "YourCDNEndpointDomain",
useHttps : "UseHttpsInEndpoint" //Optional: CDN protocol. Defaults to http if omitted. Set to "true", to enable.
}
},
Environment Variables
You can set your connection string as the Environment Variable AZURE_STORAGE_CONNECTION_STRING
Released under the MIT license.