diff --git a/docker/gen-uoj-config.php b/docker/gen-uoj-config.php index a3df762..9bf2b0e 100644 --- a/docker/gen-uoj-config.php +++ b/docker/gen-uoj-config.php @@ -21,6 +21,14 @@ $svn_pwd = rand_str(32); $svn_cert = '--username root --password '.$svn_pwd; $config = [ + 'profile' => [ + 'oj-name' => 'Universal Online Judge', + 'oj-name-short' => 'UOJ', + 'administrator' => 'admin', + 'admin-email' => 'admin@uoj', + 'qq-group' => '', + 'ICP-license' => '' + ], 'database' => [ 'database' => 'app_uoj233', 'username' => 'root', diff --git a/install b/install old mode 100644 new mode 100755 index df8efe4..21e7c08 --- a/install +++ b/install @@ -1,3 +1,3 @@ #!/bin/sh -docker build -f docker/Dockerfile --no-cache=true . +docker build -f docker/Dockerfile --no-cache=true . -t uoj diff --git a/uoj/1/index.php b/uoj/1/index.php index f7ec2c6..502deaf 100644 --- a/uoj/1/index.php +++ b/uoj/1/index.php @@ -1,5 +1,7 @@