Plugin for ember-cli that injects Ethnio advanced research management into your application.
To install simply run:
ember install ember-cli-ethnio
Once configured, the Ethnio screener code will be injected into your index.html file.
This plugin uses the Ember CLI project's configuration as defined in config/environment.js.
The Ethnio code will appear only if ENV.ethnioConfig.enabled is defined and is set to true. For instance, to enable the Ethnio in only the production environment:
if (environment === 'production') {
ENV.ethnioConfig = {
enabled: true,
screenerNumber: 11111
};
}enabled(Default:false): Whether or not the feature is enabled.screenerNumber(Default:null): the number of the screener survey you wish to display.host(Default:'//ethn.io/'): The host location of the Ethnio scripts
git clone [email protected]:danmonroe/ember-cli-ethnio.gitnpm installember testember test --server
ember build
For more information on using ember-cli, visit http://www.ember-cli.com/.