Closed RohovDmytro closed 7 years ago
Okay. Seems that docs are misleading 😞
From https://github.com/flywheelsports/fwsp-hydra/blob/master/documentation.md
hydra.init(initObject)
needs to be
hydra.init(initObject.hydra)
because you are saying that
The initialization object consist of the following fields:
hydra: {
serviceName: 'hydramcp',
serviceDescription: 'Hydra Master Control Program',
serviceIP: '',
servicePort: 0,
serviceType: 'mcp',
redis: {
url: '127.0.0.1',
port: 6379,
db: 0
}
}
@rogovdm Yes the docs aren't clear there. I'll update them, thanks for the feedback!
index.js
config.json
url and port are hidden for purpose.
Terminal