zettelstore run

This starts the web service.

zettelstore run [-a PORT] [-c CONFIGFILE] [-d DIR] [-debug] [-p PORT] [-r] [-v]
-a PORT

Specifies the TCP port through which you can reach the administrator console. See the explanation of admin-port for more details.

-c CONFIGFILE

Specifies CONFIGFILE as a file, where startup configuration data is read. It is ignored if the given file is not available or not readable.

Default: tries to read the following files in the “current directory”: zettelstore.cfg, zsconfig.txt, zscfg.txt, _zscfg, and .zscfg.

-d DIR

Specifies DIR as the directory that contains all zettel.

Default is ./zettel (.\zettel on Windows), where . denotes the “current directory”.

-debug

Allows debugging of the internal web server. Same as setting debug-mode to “true”.

-p PORT

Specifies the integer value PORT as the TCP port, where the Zettelstore web server listens for requests.

Default: 23123.

Zettelstore listens only on 127.0.0.1, e.g. only requests from the current computer will be processed.

If you want to listen on a specific network interface to process requests from other computers, please use listen-addr of the configuration file.

-r

Puts the Zettelstore in read-only mode. No changes are possible via the web user interface / via the API.

This allows to publish your content without any risks of unauthorized changes.

-v

Be more verbose when writing logs.

Command line options take precedence over configuration file options.