The configuration files (tiddlyserver.json, tiddlyserver-2-2.schema.json) are in the .config folder, wiki folders are in public_html.
{
//The JSON5 parser allows comments!
//All relative paths are relative to this file.
//The user directory prefix ~ is allowed.
//remove one of these
// "tree": "../webroot", //this tree is just going to mount a folder as root: ../webroot
"tree": { //this tree is going to mount a group containing folders and another group
"zettelkasten": {
"$element": "folder",
"path": "../public_html/zettel",
},
"research notes": {
"$element": "folder",
"path": "../public_html/rn",
},
"test": {
"$element": "folder",
"path": "../public_html/test",
},
},
"bindInfo": {
// bind to localhost only (you can specify any other ip address in this array, and it will bind to all available addresses)
"port": 8080,
"bindAddress": ["127.0.0.1"]
//bind to 0.0.0.0
// "bindWildcard": true
//workaround for android devices (bind to all available private ip addresses on startup)
},
"putsaver": {
//single file wikis will backup to this directory on every save
// "backupFolder": "./backups" // comment out or set to "" to disable backups
},
"$schema": "./tiddlyserver-2-2.schema.json"
}