Hi Paul > , is it a simple matter to run 2 or more tiddlywiki instances under the same node instance (same or different ports doesn't really matter)?
You have to run each instance separately (usually simplest to do this by opening multiple terminal windows), and each has to be listening on a different port. Usually you'd use 8081, 8082 etc. > I'm guessing TW5 would need to be 'multiple wiki aware' and likely isn't at the moment. That's right, it's on the roadmap but not a huge priority; it generally makes things more resilient to have each wiki served from a different process. > Also, in terms of security, I imagine my biggest concern should be with ensure that port 8080 is blocked to outside traffic on my machine. Anything else? In fact, if you listen on 127.0.0.1 (which is the default), then you'll only be able to connect to the server from the same machine. If you listen on the actual IP address of your server then external machines will be able to access the server, so that's the configuration where you'd need to selectively block 8080. Here's an example of listening on 192.168.0.15: tiddlywiki mywiki --server 8080 $:/core/save/all text/plain text/html MyUserName passw0rd 192.168.0.15 See http://tiddlywiki.com/#ServerCommand for details. Best wishes Jeremy On Sun, Jul 13, 2014 at 4:24 PM, Paul <[email protected]> wrote: > After my recent loss, I'm opting for the node.js approach. This helped a > treat... exactly what I needed. One further question, is it a simple matter > to run 2 or more tiddlywiki instances under the same node instance (same or > different ports doesn't really matter)? I'm not all that familiar with > node, but based on how it is run on the command line, I'm guessing TW5 > would need to be 'multiple wiki aware' and likely isn't at the moment. > > Also, in terms of security, I imagine my biggest concern should be with > ensure that port 8080 is blocked to outside traffic on my machine. Anything > else? > > Many thanks, > Paul > > > On Wednesday, July 9, 2014 1:17:12 PM UTC-3, ET wrote: >> >> Oh I see, this requires a copy of https://github.com/Jermolene/ >> TiddlyWiki5/archive/v5.0.13-beta.zip which I have downloaded and tried, >> works as expected. >> >> Cheers >> >> >> On Thursday, July 10, 2014 4:03:44 AM UTC+12, Jeremy Ruston wrote: >>> >>> Hi Eric >>> >>> On Wed, Jul 9, 2014 at 4:50 PM, ET <[email protected]> wrote: >>> >>>> There weren't any notes posted regarding this method of using >>>> tiddlywiki, so I copied https://gist.github.com/rpflorence/701407 and >>>> ran node.js with it, plus a copy of tiddlywiki in the same folder. Upon >>>> making an edit and clicking download, it downloads the tiddlywiki rather >>>> than save it. Perhaps I'm doing it the wrong way? >>>> >>> >>> I'm afraid all you were doing there was serving a TiddlyWiki HTML file >>> from a static server. The web server code you pointed to doesn't know how >>> to handle attempts to write changes back by TiddlyWiki. >>> >>> Try instead: >>> >>> node.exe /path/to/tiddlywiki.js /path/to/newwiki --init server >>> node.exe /path/to/tiddlywiki.js /path/to/newwiki --server >>> >>> Then visit http://127.0.0.1:8080 in a browser on your machine, >>> >>> Best wishes >>> >>> Jeremy. >>> >>> >>> >>>> >>>> >>>> On Thursday, July 10, 2014 3:40:44 AM UTC+12, ET wrote: >>>>> >>>>> Rather than installing node.js the normal way using the installer, is >>>>> it possible to run tiddlywiki using just a copy of tiddlywiki and a single >>>>> node.js binary? (which is offered as a download on nodejs.org) >>>>> This would make tiddlywiki even more convenient as it would only >>>>> require two run tiddlywiki. >>>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "TiddlyWiki" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> To post to this group, send email to [email protected]. >>>> Visit this group at http://groups.google.com/group/tiddlywiki. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> >>> >>> -- >>> Jeremy Ruston >>> mailto:[email protected] >>> >> -- Jeremy Ruston mailto:[email protected] -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.

