first commit
All checks were successful
Deploy to Server / deploy (push) Successful in 19s

This commit is contained in:
爽哒哒
2026-03-20 23:30:57 +08:00
commit 290be5d5be
328 changed files with 37215 additions and 0 deletions

18
backend/start_judge_system.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/bin/bash
echo "Starting Judge System..."
# 激活虚拟环境 (如果有)
if [ -d "venv" ]; then
source venv/bin/activate
fi
# 安装依赖
pip install -r requirements.txt
# 迁移数据库
python manage.py makemigrations
python manage.py migrate
# 启动 Django 开发服务器
echo "Server running at http://127.0.0.1:8000/competition/admin/"
python manage.py runserver 0.0.0.0:8000