plom.server
module
Plom Server
The Plom Server
- plom.server.launch(basedir=PosixPath('.'), *, master_token=None, logfile=None, logconsole=True)[source]
Launches the Plom server.
- Parameters:
basedir (pathlib.Path/str) – the directory containing the file space to be used by this server.
logfile (pathlib.Path/str/None) – name-only then relative to basedir else If omitted, use a default name with date and time included.
logconsole (bool) – if True (default) then log to the stderr.
master_token (None/str) – a 32 hex-digit string used to encrypt tokens in the database. Not needed on server unless you want to hot-restart the server without requiring users to log-off and log-in again. If None, a new token is created.