Wiki manages pages saved as json text and often kept in flat files. It also keeps some additional state, metadata, related to identity such as login details and a favicon flag.
The -d parameter specifies where to find data when launching wiki.
wiki -d ~/.wiki -p 3000
The server uses .wiki in the users home directory by default. The dot prefix makes this directory invisible to many tools. Use the 'all' option to see it with the unix ls (list) command.
ls -l -a
A non-farm server keeps two subdirectories.
pages ... state favicon.png ...
A farm server keeps one subdirectory for each site.
foo.wiki.org pages ... state ... bar.wiki.org pages ... state ...
The two schemes do not overlap so that separate servers can be run without interaction.
Clever use of a symbolic link can bring the non-farm pages into the farm domain space.
ln -s . baz.wiki.org