diff --git a/.env b/.env index 2fa3e08..2796876 100644 --- a/.env +++ b/.env @@ -5,7 +5,7 @@ mysql_password=ANOTHER_SECRET_MYSQL_DJANGO_PASSWORD mysql_root_password=ANOTHER_SECRET_MYSQL_ROOT_PASSWORD public_host=vlab.ustc.edu.cn rabbitmq_password=ANOTHER_SECRET_RABBITMQ_PASSWORD -docker_judger_host_path=/home/libreliu/Projects/Soft_Eng/DockerJudger +docker_judger_host_path=/Users/mac/Documents/workspaces/ustc_projects/VLAB/Verilog-OJ/DockerJudger docker_host_dir=/host_dir rabbitmq_default_user=user rabbitmq_default_pass=ANOTHER_SECRET_RABBITMQ_PASSWORD diff --git a/.gitignore b/.gitignore index 12e2219..017d72e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,7 @@ **/__pycache__ +lib/ venv/ +venv_new/ # Editor directories and files .idea diff --git a/docker-compose.yml b/docker-compose.yml index ea3741a..035589a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -23,8 +23,9 @@ services: USE_APK_MIRROR: "yes" USE_MYSQL: "yes" environment: + VERILOG_OJ_DEV: "TRUE" VERILOG_OJ_HOST_STATIC: "yes" - #VERILOG_OJ_PROD_DEBUG: "yes" + # VERILOG_OJ_PROD_DEBUG: "yes" VERILOG_OJ_JUDGER_SECRET: ${judger_secret} VERILOG_OJ_SECRET_KEY: ${secret_key} VERILOG_OJ_USE_MYSQL: "yes" diff --git a/frontend/src/App.vue b/frontend/src/App.vue index f94a3f4..801a526 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -134,7 +134,6 @@ export default { if (command == "setting") { this.$router.push({ name: "setting", - params: { username: this.username }, }); } // if (command == "submittion") { diff --git a/frontend/src/components/mainpage/setting.vue b/frontend/src/components/mainpage/setting.vue index 228d485..182437f 100644 --- a/frontend/src/components/mainpage/setting.vue +++ b/frontend/src/components/mainpage/setting.vue @@ -6,7 +6,7 @@
昵称
- + @@ -106,17 +106,16 @@