BTW, I must say tiddlywiki reminds me of the Smalltalk environment (not the language, the system). Beautiful and super-powerful, but it would quickly turn into a nightmare as soon as you tried to interface it with the external world, be it source control systems, editors, libraries, or what have you. I hope I am wrong, as the Smalltalk story did not end well. S.
On Mon, Feb 4, 2019 at 10:41 PM stefano franchi <[email protected]> wrote: > > > On Mon, Feb 4, 2019 at 9:34 PM Brian Theado <[email protected]> > wrote: > >> These steps work for me. If they work for you, maybe it can help you >> track down your issue: >> >> 1. mkdir simple-tw-npm-test >> 2. cd simple-tw-npm-test >> # Ignore warnings here about missing package.json >> 3. npm install tiddlywiki >> 4. $(npm bin)/tiddlywiki wiki --init server >> 5. $(npm bin)/tiddlywiki wiki --listen >> 6. visit http://127.0.0.1:8080 in your browser >> >> >> The tiddlers will be stored in the relative folder named 'wiki' >> >> BTW, '$(npm bin)' syntax in #4 and #5 is for bash. If you aren't using >> Linux or Mac, then likely you aren't using bash. If that's the case, then >> run the 'npm bin' command by itself and replace the '$(npm bin)' above with >> the output you see. Also if you are on windows I guess you would need to >> replace the forward slash with back slash. >> >> Now after typing this, I just realized it should be documented already >> and I find it is: >> https://tiddlywiki.com/#Installing%20TiddlyWiki%20on%20Node.js. Are >> these the instructions you are already following? >> > > > Those were indeed the instructions I found first. But on the dev site, at > https://tiddlywiki.com/dev/#Developing%20plugins%20using%20Node.js%20and%20GitHub, > the instructions are different. They tell you to clone the github repo, and > install the tw5.com edition, not the barebone server one. This is what > fails, and twice, as I described in my post. First it fails to install the > locally modified TW5.com edition, and then it fails to boot because it > has the wrong path for the language tiddlers (and perhaps it would fail for > other paths as well, but boot.js crashes). > > Regardless, I gave up on installing tw5.com and and now focusing on the > barebone server edition. The next obstacle is how to convice tiddlywiki to > recognize a plugin written externally (i.e. directly as a .js file in an > external editor). There appears to be some magic that escapes me. > > Cheers, > > Stefano > > BTW, I am indeed on linux and using the bash shell > > -- > Stefano Franchi > > [email protected] <[email protected]> > http://stefano.cleinias.org > -- __________________________________________________ Stefano Franchi [email protected] <[email protected]> http://stefano.cleinias.org -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" 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 https://groups.google.com/group/tiddlywikidev. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/CAJODLwafbZT%3DPpgB-VWuYzSkkT_uW-Gcksj95fJqWG1Bv5aeGA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
