ember-hermes

1.0.2 • Public • Published

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/.

Readme

Keywords

Package Sidebar

Install

npm i ember-hermes

Weekly Downloads

3

Version

1.0.2

License

MIT

Unpacked Size

31.1 kB

Total Files

20

Last publish

Collaborators

  • bryan.crotaz