Ok, so I'm pretty sure this on the right track, except... (right now, I'm totally ignoring the permissions issue. I just want to get it running, period, and I'll worry about the rest later. I'm also not going to worry about Bob until I get this first part nailed down)
When I follow all the standard instructions to install node.js itself, it creates all the node related info in a folder called .nvm. This means that all the tiddlywiki related files are automatically under /home/myusername/.nvm/versions/node/v10.15.0/lib/node_modules/tiddlywiki So running (from putty) "tiddlywiki folderwhereiwanttokeepmyTW --init server" creates a folder by that name under /home/myusername/public_html (here's something I have control over, since it'll just create the folder wherever I happen to have cd'ed in at the moment) and it has just 1 file in it (tiddlywiki.info) and 1 tiddlers folder with a storylist.tid in it. Next, I run the "tiddlywiki folderwhereiwanttokeepmyTW --listen port=3000" (that's another thing, I figured out that godaddy wants everything to listen on port 3000. This requires that I put a .htaccess file in /home/myusername with a "RewriteEngine on" and "RewriteRule (.*) http://localhost:3000/$1 [P,L]" in it). It spits out confirmation that it's serving correctly on port 3000...but then I go to view it and I just get a 404 page. Interestingly enough, when I kill the session, the page changes to a "server is temporarily unavailable to service your request" message, so it's like *something* is happening *somewhere*. To take a step back a bit, I installed the standard app.js test script to my public_html file, ran it using "node app.js", and it worked as expected. What in the world am I missing? On Thursday, January 17, 2019 at 2:29:15 AM UTC-8, Jack Baty wrote: > > Jennifer, > > I'm running 5.1.19 on a server. Here's an example startup command that > works for me. > > /usr/local/bin/tiddlywiki /home/jbaty/apps/wiki/batywiki --listen > "readers=(anon)" writers=jack username=notmyusername > password=thisisnotmyrealpassword > > > That by default runs on port 8080 on the localhost only, so you probably > want to put a "real" web server in front of it. I use nginx as a proxy, but > GoDaddy may use Apache. Either way, on a shared host it might be > challenging to set this all up. I have a few notes here: > https://rudimentarylathe.org/#Rudimentarylathe.org%20tech%20notes > > Tony's suggestion would be easier, and without all the node > business....edit your wiki locally with Firefox/Timimi or TiddlyDesktop > then upload a copy to a web folder on the server. This sounds like it might > be a better option for you. > > On Thursday, January 17, 2019 at 12:56:27 AM UTC-5, Jennifer Pritchard > wrote: >> >> So I've gone down a rabbit hole for the past few days, and I'm going to >> back up first and say where I *want* to get, then maybe you all can help me >> see if this is even the route to take at all. >> >> I use godaddy for webhosting and I'd like to somehow install a tiddlywiki >> instance there. I want it to be public read access, but only I should be >> able to edit it (ideally some day, maybe I'd want a handful of authorized >> users edit it with me, but that's waaaaay down the road). I've dug around >> and installed node.js on my account, and although I've followed the steps >> for installing TW there, I get lost at the "listen" command part because >> I'm not sure where exactly it's installed the page. (I'm doing all the >> commands via putty into the godaddy account, btw). I feel like I've >> greatly lost the plot. >> >> So I've read about the "Bob" TW thing, and that seems like it would fit >> the bill as far as a multi-user tool using node...but by looking at the >> installation instructions, I'd just be twisting myself up into knots even >> further. >> >> Am I just SOL using godaddy for this? >> > -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/e08545ef-8d3e-4b01-9a4d-fa867101dfd1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.