1.0.2 • Published 6 years ago

ember-hermes v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

ember-hermes

This README outlines the details of collaborating on this Ember addon.

Installation

  • git clone <repository-url> this repository
  • cd ember-hermes
  • yarn install

Configuration

Ember-hermes looks in APP.hermes for its configuration.

{
  hubs: [
    {
      host: 'myserver.local',
      path: 'hermes',
      protocol: 'wss',
      port: 443
    }
  ],
  maxHubConnections: 2
}

hubs defines the initial set of hubs available to the client. Other hubs are discovered once connected to Hermes.

  • host: server hostname or IP address
  • path: virtual folder within the host
  • protocol: ws or wss
  • port: optional - defaults to 80 for ws or 443 for wss

maxHubConnections limits the number of simultaneous sockets to hubs. Defaults to 1 if undefined or null.

Running

Running Tests

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

Building

  • ember build

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