Re: [tw] Re: Serving TiddlyWiki alongside other projects?

2017-09-04 Thread Arlen Beiler
One thing you may be interested in is a small nodeJS application called TiddlyServer which I wrote to handle this use case. It is a static file server, but if you open a folder that contains a tiddlywiki.info file, it automatically loads the folder into tiddlywiki and mounts it at that location.

[tw] Re: Serving TiddlyWiki alongside other projects?

2017-09-04 Thread kodomohimari
Okay, trying again after a good night's sleep solved most/all of the problems. I can access the TiddlyWiki through [home-network-IP]:8080 and I've setup port forwarding on my router to be able to reach it through [external-IP]:8080 as well (the Pi already has a fixed home-network-IP because I

[tw] Re: Serving TiddlyWiki alongside other projects?

2017-09-03 Thread RichardWilliamSmith
Sorry, I somehow missed this Both [home-network-IP]:8080 [external-IP]:8080 seems to fall The first one should work, assuming you mean the ip of the Pi itself (and not your router). If it doesn't connect and the numbers are all correct, it's probably something blocking the port. Presumably

[tw] Re: Serving TiddlyWiki alongside other projects?

2017-09-03 Thread RichardWilliamSmith
> > is accessed through localhost:8080 (edit and save work well). > localhost:8080/tdnotes gives a 404 Even though the files for your wiki may be in the path being served by Apache (at localhost:80/tdnotes or leave the 80 off altogether) but the wiki, as a wiki, is being served on a

[tw] Re: Serving TiddlyWiki alongside other projects?

2017-09-03 Thread kodomohimari
Hmm... I have no such file in www/tdnotes, there is only the tiddlywiki.info file, a folder called tiddlers and in that folder a file called $__StoryList.tid. Which does seem odd now that I think about it, I don't even see the welcome screen here even though it's displayed when I access the

[tw] Re: Serving TiddlyWiki alongside other projects?

2017-09-03 Thread kodomohimari
At the current time, the TiddlyWiki runs in a node I start manually by going to www in CLI and is accessed through localhost:8080 (edit and save work well). localhost:8080/tdnotes gives a 404 (which I assume is because Apache isn't grabbing the 8080 port which means localhost:8080/tdnotes

[tw] Re: Serving TiddlyWiki alongside other projects?

2017-09-03 Thread TonyM
kodomohimari Did you rename your tiddlywiki, in the folder to index.html so as to make it the default? Tony On Monday, September 4, 2017 at 6:55:46 AM UTC+10, kodomohimari wrote: > > Just discovered TiddlyWiki and I'm trying to set it up with nodejs on my > Raspberry Pi (which I use for

[tw] Re: Serving TiddlyWiki alongside other projects?

2017-09-03 Thread RichardWilliamSmith
Hi, You have Apache running on port 80 to serve static files. The Tiddlywiki server needs to run as a separate process alongside that, on a different port, and they are accessed as two different services. If you really need to be able to access both services from the same port, I guess you