poelstra / mhub

Simple, flexible message hub using websockets
MIT License
9 stars 7 forks source link

Typo in readme #1

Closed rikkertkoppes closed 9 years ago

rikkertkoppes commented 9 years ago

To customize the available nodes and bindings, create a copy of server.conf.json, edit it to your needs and start the server as:

node start -- -c <config_filename>

(Note: passing custom arguments only works with a recent npm, tested with 2.4.1)

Should be npm start -- -c <config_filename> no?

poelstra commented 9 years ago

You're correct. I'll update it!

Thanks for reporting :)

rikkertkoppes commented 9 years ago

Also, the following is *nix syntax

In another terminal, run:

node dist/src/client -n blib -t my:topic -d '"topic data"'

For windows this would be (I kid you not):

node dist/src/client -n blib -t my:topic -d """topic data"""

That's three " in a row, since a quote needs to be escaped with another quote

It would be nice to document both (as I had quite a bit of cursing going on before realizing the solution)

poelstra commented 9 years ago

Both issues solved in v0.2.1, as published on npm too.