forked from tl-its-umich-edu/instructor-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.sample
101 lines (72 loc) · 3.13 KB
/
.env.sample
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
##### Required values
# Django Secret key. Run the command below to generate and insert this.
# You should set this to production but the start script generates one each time if not set
# python -c 'from django.core.management.utils import get_random_secret_key; print(get_random_secret_key())'
# DJANGO_SECRET_KEY=<some secret key, randomized by default>
# Canvas OAuth Config
# (required) The client id is the integer client id value of your Canvas developer key.
# CANVAS_OAUTH_CLIENT_ID=
# (required) The client secret is the random string (secret) value of your Canvas developer key.
# CANVAS_OAUTH_CLIENT_SECRET=
# (required) The domain of your canvas instance (e.g. canvas.instructure.com)
# CANVAS_OAUTH_CANVAS_DOMAIN=
# (optional) The Canvas API scopes needed by the application
# (This should only be used if Canvas changes the scopes from what is in the source code in backend/canvas_scopes.py.)
# CANVAS_OAUTH_SCOPES=url:GET|/api/v1/courses/:id,url:GET|/api/v1/courses/:course_id/tabs,url:PUT|/api/v1/courses/:course_id/tabs/:tab_id
# The URL for an external help resource; defaults to an empty string
# HELP_URL=https://github.com/tl-its-umich-edu/canvas-app-explorer
# (optional) The token for accessing the /status URL; leaving it undefined means the route is unprotected
# DJANGO_WATCHMAN_TOKENS=
# (optional) The name of the header or parameter used for passing the above token
# DJANGO_WATCHMAN_TOKEN_NAME=cae-watchman-token
# A comma separated list of domains where you want to allow the application to be framed
# CSP_FRAME_ANCESTORS=umich.instructure.com
##### Optional configuration for defining hosts
# Need to define this if using ngrok or other hosts
ALLOWED_HOSTS=.ngrok.io,.localhost,127.0.0.1
# You need to set this to true if you're testing with ngrok or on production
# Sets some cookie values to expect HTTPS
# If this is not set some things won't work (like logins and LTI)
# CSRF_COOKIE_SECURE=True
# Enable or disable deployment ID validation for LTI
# Setting this to true is useful for testing to avoid checking deployment ids
# By default this is set to False
# LTI_CONFIG_DISABLE_DEPLOYMENT_ID_VALIDATION=True
##### Database configuration values
# Database host
# DB_HOST=canvas_app_explorer_mysql
# Database server port
# DB_PORT=3306
# Database name
# DB_NAME=canvas_app_explorer_local
# Database user
# DB_USER=cae_user
# Database Password
# DB_PASSWORD=cae_pw
##### Redis
# Redis Password, default is blank
REDIS_PASS=
# Redis URL, full url of redis server and database number, has a default in the code
# REDIS_URL= redis://redis:6379/1
##### Gunicorn server options
# Number of workers to start
# GUNICORN_WORKERS=4
# Whether to reload or not
# GUNICORN_RELOAD=--reload
# Gunicorn Timeout value
# GUINCORN_TIMEOUT=120
# Gunicorn port
# GUNICORN_PORT=5000
###### Local Debugging options
# For local debugging, not yet implemented. Sets Gunicorn to reload with 1 worker
# DEBUGPY_ENABLE=true
# Currently needed for localhost, probably will just combine with DEBUGPY_ENABLE
# DEBUG=True
# Django log level
# DJANGO_LOG_LEVEL=INFO
# Root Log Level
# ROOT_LOG_LEVEL=INFO
# For Testing
# TEST_API_KEY=
# TEST_API_URL=
# TEST_COURSE_ID=