Hello!

This is how I approach that:

  1) Each wiki has a script in the same directory as tiddlywiki.info - all 
it does is check that the installed TiddlyWiki version matches what's in 
package-lock.json, set the TIDDLYWIKI_PORT environment variable, and invoke 
./node_modules/.bin/tiddlywiki.  It's the TIDDLYWIKI_PORT part that's 
important here!
  2) I have a tmux session with a single window per wiki - in each of those 
windows, I run ./tiddlywiki --listen port=TIDDLYWIKI_PORT.  This way I 
don't have to remember which port I use for which wiki!
  3) I have custom DNS so that personal.wiki, games.wiki, etc all point to 
my machine running the various node processes.
  4) I have nginx set up to proxy to each node process - my config for a 
single wiki looks like this: 
https://gist.github.com/hoelzro/9a1706b2bf96c4836dfbb0c3e0afae87

-Rob

On Sunday, August 30, 2020 at 9:37:09 PM UTC-5 [email protected] wrote:

> Hi all. I have 3 wikis running on node.js on my computer. They each 
> connect through a different port number. I want to be able to access any of 
> them in the browser at any time without pulling up the terminal. I believe 
> I remember doing this before, but I don't know how. How do I make my wikis 
> permanent?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f6416ea3-ff81-4a89-b5ee-5adccecc83e6n%40googlegroups.com.

Reply via email to