ember-cli-deploy-azure-tables

0.2.3 • Public • Published

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 Tables
  • ember deploy:activate --revision <key> <environment> to activate an uploaded revision

Package Sidebar

Install

npm i ember-cli-deploy-azure-tables

Weekly Downloads

21

Version

0.2.3

License

MIT

Unpacked Size

16.5 kB

Total Files

6

Last publish

Collaborators

  • duizendnegen