X-Git-Url: https://www.kengrimes.com/gitweb/?p=henge%2Fkiak.git;a=blobdiff_plain;f=usage;h=7aa10d93c726720da6b5f3583c3b6dc990e7fa42;hp=3d3eeee8663692ea6f36ae51a9b745965a2f3d7a;hb=0e842dfeac9f6727b04dd242144e7c4a3a76f41e;hpb=6233760c6f4dab5a25785aff716bc8fd4344cdc1 diff --git a/usage b/usage index 3d3eeee..7aa10d9 100644 --- a/usage +++ b/usage @@ -27,20 +27,19 @@ ROUTING established by separating the key:value pairs with ',' commas. (www:./www) e.g. Service a typical frontpage - -i./html/index.html -b js:./js,html:./html,css:./css + -i./html/index.html -bjs:./js,html:./html,css:./css e.g. Route-based http hosting - -b user1:/home/user1/www,user2:/home/user2/www + -buser1:/home/user1/www,user2:/home/user2/www -e, --electron=string Specify a route name for the local electron render window which will be launched on execution (nil) - enables optional electron dependency -d, --dedicated=string Route all incoming connections to this route (nil) - can be used in conjunction with '-e' for single-user - e.g. Set the electron window to use route 'default', - Set the dedicated route to 'default' - $ node strapp.js -e default -d default - - All routes point to 'default' which is bound to - the local electron window. No other hosts may - be established, so no remote hosts may exist + e.g. Create a dedicated electron listener + - strapp -edefault -ddefault + - All routes point to 'default' which is bound to + the local electron window. No other hosts may + be established, so no remote hosts may exist COMPATIBILITY --legacy-socket=bool Use Socket.io compatibility layer to enable