1.0.2 • Published 7 years ago
ember-hermes v1.0.2
ember-hermes
This README outlines the details of collaborating on this Ember addon.
Installation
git clone <repository-url>this repositorycd ember-hermesyarn 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:
wsorwss - 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:eachto test your addon against multiple Ember versions)ember testember test --server
Building
ember build
For more information on using ember-cli, visit https://ember-cli.com/.