PrairieLearn server configuration
The PrairieLearn server is configured by a JSON file called config.json
in the current directory when the server is started (with node server.js
). By default there is no configuration file and a default configuration will be used.
To configure the server, add a file config.json
(normally this would be in the PrairieLearn/backend
directory). A typical example is:
{
"courseDir": "/Users/mwest/git/pl-tam212"
}
The format of config.json
is specified by the backend config JSON schema.