Skip to content

Latest commit

 

History

History
71 lines (49 loc) · 2.14 KB

README.md

File metadata and controls

71 lines (49 loc) · 2.14 KB

Code Climate Issue Count

Ember-cli-deploy-raygun

Ember-cli-deploy plugin to upload source maps and submit deployment information to Raygun.

Installation


ember install ember-cli-deploy-raygun

Configuration

// config/deploy.js

var ENV = {
  
  raygun: {
    key: '', //  Raygun apiKey
    token: '', // Raygun External Access Token
    prefix: '', // optional url prefix for (used for sourcemaps only)
    appId: '', // optional application id (used for sourcemaps only)
  },
  ...
};

Where to find stuff

  • API Key can be found on application settings page.
  • Token
  • Prefix is url pointing to where your files are stored (e.g https://s3-eu-west-1.amazonaws.com/<bucketName>/).
  • Application ID is the last portion of Ragun dashboard url (e.g https://app.raygun.com/dashboard/<appId>).

Sourcemaps

In order for sourcemaps to work enable sourcemaps generation in ember-cli-build.js as follows:

// ./ember-cli-build.js

sourcemaps: {
      enabled: true
    }

Linting

  • npm run lint:hbs
  • npm run lint:js
  • npm run lint:js -- --fix

Running tests

  • ember test – Runs the test suite on the current Ember version
  • ember test --server – Runs the test suite in "watch mode"
  • ember try:each – Runs the test suite against multiple Ember versions

Running the dummy application

For more information on using ember-cli, visit https://ember-cli.com/.

License


This project is licensed under the MIT License.