How to locally install TW-Printify in Node.js?

I followed the instructions on the tutorial wiki, which say:

For local installation under Node.js
i. download the printify source folder from GitHub
ii. put the printify source folder directly into local plugins folder under your wiki folder,
iii. if you have not the plugins folder, create it under your own wiki folder.
iv. if server is running, stop it and restart again

However, it is not totally clear to me what the “printify” source folder on GitHub is. The repo is called TW-Printify and has three subfolders: “docs”, “packaged” and “source” the latter contaning a “printify” folder.
I thought “download the printify source folder” referred to the “printify” inside “source”, so I cloned the repo and moved “printify” into my local plugins folder.
Much to my horror, after restarting the server, the content of my own wiki (a personal copy of Zettelkasten) had disappeared, and only the printify tiddler was showing. All the menus had disappeared, the structure of my wiki was gone and so on. Only the theme has persisted, somehow the plugin had managed to shadow everything else.
I removed it, restarted, and got everything back (as expected).

But what did I do wrong?

Hi Stefano,
I did just test it.

TiddlyWiki expects this structure in your wiki’s plugins/ folder:

  wiki/
  ├── plugins/
  │   └── printify/          ← must contain plugin.info
  │       ├── plugin.info
  │       ├── tiddlers/
  │       └── ...
  ├── tiddlers/
  └── tiddlywiki.info

So the source folder is the one to go with.

I did test it like so.

e:
cd temp
tiddlywiki ./print --init server

Copy the printify folder from your repo. → All of them

tiddlywiki ./print --listen

Should return this

PS E:\temp> tiddlywiki ./print --listen
syncer-server-filesystem: Dispatching 'save' task: $:/StoryList
Serving on http://127.0.0.1:8080
(press ctrl-C to exit)

Hope that helps.
Mario

Thanks Mario,

it worked. Interestingly, what you suggested is exactly what I had done. Or perhaps it is what I thought I had done…
I guess I needed the teacher to hold my hand to get it right.

Thanks again!

Actually, I spoke too early. The same problem happened again, printify shadows (if that’s the right word) all my tiddlers and basically my wiki disappears. Disabling the plugin in the settings tiddler and reloading the page makes everything reappear.