# JCU_zhengshu **Repository Path**: wudixiaojian/jcu_zhengshu ## Basic Information - **Project Name**: JCU_zhengshu - **Description**: 这是一个学术竞赛证书查询系统 - **Primary Language**: Unknown - **License**: AGPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2025-06-10 - **Last Updated**: 2025-06-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 初始化 ## 创建虚拟环境 ```shell python -m venv .venv ``` ## 激活虚拟环境 ### linux ```shell source .venv/bin/activate ``` ### windows ```shell .venv/Script/activate.bat ``` ## 安装依赖 ```shell python -m pip install -r requirements.txt ``` ## 导出依赖 ```shell python -m pip freeze > requirements.txt ``` # 运行 ```bash python manage.py runserver ``` # 执行迁移 ```bash python manage.py migrate ``` # 创建管理员账号 ```python python manage.py createsuperuser --email admin@example.com --user admin ``` # uwsgi ## 静态文件 ```aiignore python manage.py collectstatic ```