IF you have installed Tiddlywiki globally as a node.js package, you can 
invoke it with just "tiddlywiki" in the command (which it looks like you 
have done).

So, when starting the server on either device, you can have the "command 
line directory" set to anything you want if you pass the full (or relative) 
path from there to where your wiki is located. The below would be 
equivalent if your command prompt reads " C:\Users\Fred>  " as it does in 
your example.

tiddlywiki '../../Wikis/mynewwiki' --listen  
OR
tiddlywiki 'C:/Wikis/mynewwiki' --listen

If you do give the full path to your SD drive, then you are giving node.js 
permission to actively read/write from the SD card as your wiki changes. It 
might be better on your PC to have the wiki in a folder on your hard-drive, 
and then sync to and from the SD card when you want to sync the copies.

I use the Free File Sync app @ https://freefilesync.org/ to synchronize a 
set of QWikis between 2 PCs, by syncing to the Wikis folder to an external 
HDD, and then syncing that Wikis folder to the other PC's hard-drive.

Best,
Joshua F
On Thursday, November 26, 2020 at 3:25:42 PM UTC-8 Fred Rasmussen wrote:

> I get the following:
> C:\Users\Fred>tiddlywiki mynewwiki --listen
>  syncer-server-filesystem: Dispatching 'save' task: $:/StoryList
> Serving on http://127.0.0.1:8080
> (press ctrl-C to exit)
>
> Ha. I see that now when I navigate to the IP address, I see the new wiki 
> page!
> I tried adding a new tiddler and confirmed that the new tiddler has been 
> saved!
>
> I notice node.js is doing the work in whatever directory the command line 
> goes to by default. If my goal is to sneeker-net myNewWiki between two 
> separate PC's, should I perform the server tasks in the same removable 
> drive path or does it make any difference? Seems to me all I need is a 
> server with Node.js and a copy of TiddlyWiki running on each.
>
> Thanks for your help today.
>
> On Thursday, November 26, 2020 at 9:50:16 AM UTC-5 Mark S. wrote:
>
>> What do you see in the terminal when running:
>>
>> tiddlywiki mynewwiki --listen
>>
>> (where mynewwiki is the name of your wiki).
>>
>> On Thursday, November 26, 2020 at 6:18:23 AM UTC-8 [email protected] 
>> wrote:
>>
>>> When I tried following the instructions for  
>>> Installing TiddlyWiki <https://tiddlywiki.com/static/TiddlyWiki.html> 
>>> on Node.js (https://github.com/Jermolene/TiddlyWiki5)
>>>
>>> Steps 1-4 went fine. I was able to confirm that TiddlyWiki was installed.
>>>
>>> I got as far as Step 5: "Visit http://127.0.0.1:8080/ in your browser" 
>>> where my Firefox browser came back with "unable to connect".
>>>
>>> Just for a little background: I'm hoping to store my TiddlyWiki files on 
>>> an SD card and swap it regularly between my desktop and laptop PC's. Cloud 
>>> storage is not an option.
>>>
>>>
>>>

-- 
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/32daced3-1e02-4f61-9de2-d2aa51d4cf78n%40googlegroups.com.

Reply via email to