I started my TW the first time using tiddlywiki -g mywiki --init server It worked greate for couple days then i had to restart my computer. Now running the same command compalints about the wiki folder not being empty. I am not sure how I can restart keeping my wiki and serve the server.
If Node.JS is installed, check if Tiddlywiki is installed
If not, install tiddlywiki globally
If start.bat was launched with an argument (e.g : start.bat “My wiki”), it will use the argument as the name of the wiki
If the name was not provided, it will ask for one
Then it will create or initiate the wiki in the same directory
It will seek a free port and serve the wiki on it (meaning you can open as many wiki as you want at the same time)
Then the wiki will be open in the default web browser
If the tiddler $__SiteTitle.tid doesnt exist, the title of the wiki will be set to the name given. To achieve that, title.json is created inside the folder wiki, you can delete it later
Two batch files will be added into the wiki directory : one to start the wiki, the other to make a single file backup. In order for the shortcuts to work, you need to keep start.bat in the parent folder.
You can also drag and drop a single file tiddlywiki on this batch script to convert it into a nodejs wiki