Skip to content
This repository has been archived by the owner on Jul 10, 2019. It is now read-only.

rwjblue/ember-cli-divshot

Repository files navigation

Ember-cli-divshot

Simple wrapper for the divshot-cli package. Allows usage of divshot deployment from an ember-cli app with ease.

DEPRECATED

Divshot has joined the Firebase team, and the existing divshot package and deployment system will be going away soonish. Due to this change, ember-cli-divshot is deprecated.

See https://www.firebase.com/blog/2015-10-13-divshot-joins-firebase.html for more details.

Usage

Installation

From within your Ember CLI application run:

npm install --save-dev ember-cli-divshot

Setting up Divshot

From within your Ember CLI application run:

ember generate divshot

Deploy

ember divshot push

By default, the --environment=production option will be set for the Ember CLI build step. If you'd like to specify the development environment, you can do so with the following command:

ember divshot push --environment=development

Specifying the Divshot environmnet

The default Divshot environment is development, however you can push directly to staging:

ember divshot push staging

Or production:

ember divshot push production

Specifying the Divshot option arguments (see here for available options)

ember divshot push production --token OAUTH_TOKEN

Contributing

Running Tests

  • npm test

License

MIT