craig2017 / ember-cli-drift

Ember addon for using Drift.com

Home Page:https://www.npmjs.com/package/ember-cli-drift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ember-cli-drift

Build Status

This addon was made to be able to use the Drift messaging app within Ember.js applications.

Installation

  • ember install ember-cli-drift

Usage

You'll need to set up a Drift account first. Once you've done that, you'll be taken to a page that allows you to copy and paste Javascript code into the <head> of your app. Rather than doing that, you'll need to grab the token from the bottom 1 or 2 lines, and use that as your DRIFT_TOKEN environment variable. If you load the environment variable correctly, i.e. add it to config vars in a Heroku deployment app, then you should be able to run the app with Drift.

Running Tests

  • npm test (Runs ember try:testall to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Collaborators

Alex LaFroscia

About

Ember addon for using Drift.com

https://www.npmjs.com/package/ember-cli-drift

License:MIT License


Languages

Language:JavaScript 84.7%Language:HTML 15.3%