ember-cli-deploy-azure-tables
v0.2.3
Published
Deploy the bootstrap index.html of your Ember App to Azure Tables using ember-cli-deploy.
Downloads
173
Maintainers
Readme
Ember-cli-deploy-azure-tables
Deploy the bootstrap index.html of your Ember App to Azure Tables using ember-cli-deploy.
See ember-cli-deploy-azure for a plugin pack for Azure Tables, Azure Blob & the default build and hashing included.
Installation
npm install ember-cli-deploy-azure-tables
npm install ember-cli-deploy-build
(or another ember-cli-deploy build tool)npm install ember-cli-deploy-revision-key
(or another ember-cli-deploy hashing tool)
Configuration
In your config/deploy.js
file:
module.exports = function(environment) {
var ENV = {};
if (environment === 'production') {
ENV["azure-tables"] = {
storageAccount: "my-storage-account",
storageAccessKey: "my-access-key",
tableName: "mytable" // defaults to 'emberdeploy'
};
}
return ENV;
}
You can also connect using your connection string, set it as connectionString: "my-connection-string"
.
Usage
ember deploy <environment>
to build and upload index.html to Azure Tablesember deploy:activate --revision <key> <environment>
to activate an uploaded revision