docker启动的时候创建密钥和生成数据库
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
# coding=utf-8
|
||||
import os
|
||||
|
||||
# please set your own SECRET_KEY to a long random string
|
||||
SECRET_KEY = None
|
||||
|
||||
|
||||
WEBSITE_INFO = {"website_name": u"example大学 OnlineJudge",
|
||||
"website_name_shortcut": u"example oj",
|
||||
@@ -15,3 +12,8 @@ SMTP_CONFIG = {"smtp_server": "smtp.xxx.com",
|
||||
"email": "noreply@xxx.com",
|
||||
"password": os.environ.get("smtp_password", "111111"),
|
||||
"tls": False}
|
||||
|
||||
# please set your own SECRET_KEY to a long random string
|
||||
# SECRET_KEY = ""
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user