Arlen22 / TiddlyServer

v2 - A static file server that can also save files and mount TiddlyWiki folders
https://arlen22.github.io/tiddlyserver/
MIT License
257 stars 36 forks source link

Addition to documentation, for dummies like me #125

Open krsmith28p opened 2 years ago

krsmith28p commented 2 years ago

This will need correcting no doubt, but it took me a lot of head-scratching and Googling to work it out. Maybe someone else can benefit from my experience

Once tiddlyserver is installed via npm, create a tiddlywiki.info file for each folder to be served as a tiddlywiki

like this tiddlywiki ="wikiname" –init server - //where wikiname is the name of the folder to be served
eg (for linux - use OS appropriate commands)

$ mkdir work $ tiddlywiki work –init server

The config file (or setting.json) will specify the folder to be served, with whatever name you chose (eg WorkStuff)
Folders should be subfolders of the folder where the config file is called from (this may not be strictly accurate, but applies to the way the current example config file is structured)
Navigating to the bare port address will show a series of folders - other files can be served in folders for download. Folders with tiddlywiki.info file will show immediately as a tiddlywiki 

But thanks for the work, Arlen - it gives me what I need for tiddlywikis for family members

premii commented 2 years ago

Thanks, This helped a lot.

I don't know how this works "tiddlywiki --init server". There is no instruction to install tiddlywiki.

I manually created .info file. I can see tiddlywiki but it won't save from client.

Arlen22 commented 1 year ago

Use npm install -g tiddlywiki to install the tiddlywiki command.