forked from OpenShopChannel/RepositoryManager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py.example
40 lines (32 loc) · 1.25 KB
/
config.py.example
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
# Database URI
SQLALCHEMY_DATABASE_URI = "sqlite:///database.db"
SCHEDULER_DATABASE_URI = "sqlite:///scheduler.db"
# Set cookie secret key
secret_key = "ChangeMe"
# Enable the admin account registration page
allow_admin_register = False
# Repository path
REPO_DIR = "repository"
# API access tokens
GITHUB_TOKEN = ""
ITCHIO_KEY = ""
# Homebrw Browser Support
SERVE_REPO_LIST_FILE = True # Enable this only if the Homebrew Browser is expected to *directly* connect to this repository. If enabled, repositories must be set on admin page.
# Discord webhooks
ENABLE_DISCORD_WEBHOOKS = False
DISCORD_MOD_WEBHOOK_URL = ""
DISCORD_CATALOG_WEBHOOK_URL = ""
DISCORD_INFO_WEBHOOK_URL = ""
DISCORD_ERROR_WEBHOOK_URL = ""
# Sentry
SENTRY_DSN = "" # Keep empty to disable use of Sentry, otherwise specify DSN.
SENTRY_TRACES_SAMPLE_RATE = 1.0 # Recommended to lower from default of 1.0 on production
# Other settings
BANNER_GENERATOR_PATH = "" # If empty will attempt to use "BannerGenerator" in the working folder
DEFAULT_PLATFORM = "wii"
GENERATE_WSC_BANNER = False
SOCKETIO_CORS_ALLOWED_ORIGINS = "*"
URL_DOWNLOAD_TIMEOUT = 60
USER_AGENT = "This is a user agent string"
SECRET_USER_AGENTS = {"fake string": "actual string"}
UNRAR_LIB_PATH = "" # Keep empty to look up automatically