-
Notifications
You must be signed in to change notification settings - Fork 23
/
config.example.py
39 lines (32 loc) · 1.21 KB
/
config.example.py
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
# Sample configuration
# Copy this to config.py and edit as required.
config = {
# Point this at the repo you want to report on.
'github.repo': '99designs/githubsurvivor',
# You'll need to create an OAuth token to access your repo.
# See https://help.github.com/articles/creating-an-oauth-token-for-command-line-use
'github.oauth_token': 'my-secret',
# Your local Mongo database
'db': 'githubsurvivor',
# You can optionally provide a whitelist of users to display in the bug
# leaderboards. Leave this empty to include all repo contributors.
'leaderboard_users': (
# 'harto',
# 'dannymidnight',
# 'alecsloman',
),
# Reporting options
# Size of reporting window: one of week, sprint, month
'reporting.window': 'month',
# Uncomment & edit these when reporting.window == sprint
# 'reporting.sprint_start_weekday': 'monday',
# 'reporting.sprint_length_weeks': 2,
# 'reporting.first_sprint_week_of_year': 1,
# Whether to display the interactive debugger on error
# Don't enable this in publicly-accessible environments
'flask.debug': False,
'flask.settings': {
'host': '127.0.0.1',
'port': 5000,
}
}