-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsettings.env.dist
62 lines (45 loc) · 2.27 KB
/
settings.env.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# Copy this file to settings.env and change each of the fields.
# The domain name the LTI provider will be accessed from
SERVERNAME=numbas-lti.institution.tld
# The name of this instance.
# Shown in the footer of most pages.
INSTANCE_NAME=University of Somewhere
# The language to use for the interface.
# Available languages: 'en' (English), 'de' (German/Deutsch)
LANGUAGE_CODE=en
# The time zone that the server should use to display dates and times.
# See https://docs.djangoproject.com/en/3.2/ref/settings/#std:setting-TIME_ZONE
TIME_ZONE=UTC
# Pick a username and password for the administrator account in the Numbas LTI provider
SUPERUSER_USER=admin
SUPERUSER_PASSWORD=admin
# The email address to send emails from.
DEFAULT_FROM_EMAIL = env('DEFAULT_FROM_EMAIL')
# The name of your support contact.
SUPPORT_NAME=the Numbas team
# An address to get support. When there's an error, students will be shown a link to this address.
# Set to "mailto:your_email_address", or the URL of a page containing contact info.
# Or set to None if you don't want to show a link.
SUPPORT_URL=mailto:[email protected]
# Enable sending attempt completion receipts by email?
EMAIL_COMPLETION_RECEIPTS=env('EMAIL_COMPLETION_RECEIPTS')
# Configuration details for sending emails.
# Remove the # from the start of the following line to set this; otherwise default settings are used.
#EMAIL_URL=smtp://user:password@localhost:25
# The level of logging to produce in the Docker log.
# See https://docs.djangoproject.com/en/3.2/topics/logging/#loggers
LOGLEVEL=WARNING
# Pick a password for the database.
POSTGRES_PASSWORD=postgres
# This secret key is used for cryptography by Django.
# A SECRET_KEY is generated when you run the installation script; paste that here.
# Alternately, you can generate a key by running
# cat /dev/urandom | tr -dc 'a-zA-Z0-9' | head -c 64
SECRET_KEY=
# The default password for the Numbas lockdown app.
# You can leave this empty if you don't want to require a password.
NUMBAS_LOCKDOWN_APP_PASSWORD=
# The number of minutes to subtract from submission times reported to the consumer, to avoid slightly passing a deadline.
REPORT_SCORE_SUBTRACT_MINUTES = 1
# The number of minutes to wait before automatically reporting scores when the due date passes.
AUTOMATIC_SCORE_REPORT_DELAY_MINUTES = 5