Skip to content

config.py

tobiichi3227 edited this page Oct 24, 2023 · 3 revisions
DBNAME_OJ = 'oj'
DBUSER_OJ = 'oj'
DBPW_OJ   = ''
COOKIE_SEC = ''
lock_user_list = []
can_see_code_user = []
unlock_pwd = b''

JUDGE_SERVER_LIST = [
    
]
WEB_PROBLEM_STATIC_FILE_DIRECTORY = ''
  • DBNAME_OJ, DBUSER_OJ, DBPW_OJ是Database相關設定,如果使用install script會自動設定
  • COOKIE_SEC是加密cookie的key,如果使用install script會自動設定
  • can_see_code_user[]放的是acct_id,表示可以查看submission的code
  • JUDGE_SERVER_LIST是Judge Server列表
Clone this wiki locally