config.json

The config.json file can live in a number of places. In my configuration it is at the top of the .wiki folder:

.wiki/config.json

This file contains all the configuration you need for your local-first wiki.

{ "id": "/home/…/.wiki/status/owner.json", "security_type": "friends" }

NB. The quotes used in the config file must be double quotes. Replace ‘…’ with your user name.

As long as you have:

"admin": "…",

in your config.json file – you should have admin user rights. The admin parameter depends on the selected security type. In the case of a local wiki, we assume security_type: “wiki-security-friends”. Replace '…' with the secret from your owner.json file.

Make sure you are logged in, and that you restart your wiki server after making any changes to your configuration.