mirror of
https://github.com/QingdaoU/OnlineJudgeDeploy.git
synced 2024-12-28 15:31:57 +00:00
23 lines
767 B
Python
23 lines
767 B
Python
# coding=utf-8
|
|
import os
|
|
|
|
# Run `docker-compose restart` after changing this file
|
|
|
|
WEBSITE_INFO = {"website_name": u"example1大学 OnlineJudge",
|
|
"website_name_shortcut": u"example oj",
|
|
"website_footer": u"example大学foobar学院 <a href=\"http://www.miibeian.gov.cn/\">京ICP备233333号-1</a>",
|
|
# url结尾没有/
|
|
"url": u"http://your-domain-or-ip.com"}
|
|
|
|
|
|
# https://github.com/QingdaoU/OnlineJudge/wiki/SMTP
|
|
SMTP_CONFIG = {"smtp_server": "smtp.domain.com",
|
|
"email": "noreply@domain.com",
|
|
"password": "your_password",
|
|
"port": 25,
|
|
"tls": True}
|
|
|
|
|
|
# 是否显示所有人的提交, False就只显示自己的
|
|
SHOW_ALL_SUBMISSIONS_LIST = False
|