ember-hermes
v1.0.2
Published
The default blueprint for ember-cli addons.
Downloads
15
Readme
ember-hermes
This README outlines the details of collaborating on this Ember addon.
Installation
git clone <repository-url>
this repositorycd 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
orwss
- 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
ember serve
- Visit your app at http://localhost:4200.
Running Tests
yarn test
(Runsember 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/.