Phase 0 评审三次修复:文档命令统一加 .exe 后缀(MSYS2 venv 实际文件名)
This commit is contained in:
@@ -37,11 +37,11 @@
|
||||
| 用途 | 命令 |
|
||||
| --- | --- |
|
||||
| 创建虚拟环境 | `python3.12 -m venv .venv` |
|
||||
| 安装依赖 | `.venv/bin/pip install -r requirements.txt` |
|
||||
| 数据库迁移 | `.venv/bin/python manage.py migrate` |
|
||||
| 创建管理员 | `.venv/bin/python manage.py createsuperuser` |
|
||||
| 本地开发 | `.venv/bin/python manage.py runserver` |
|
||||
| 测试 | `.venv/bin/python manage.py test` |
|
||||
| 安装依赖 | `.venv/bin/pip3.12.exe install -r requirements.txt` |
|
||||
| 数据库迁移 | `.venv/bin/python3.12.exe manage.py migrate` |
|
||||
| 创建管理员 | `.venv/bin/python3.12.exe manage.py createsuperuser` |
|
||||
| 本地开发 | `.venv/bin/python3.12.exe manage.py runserver` |
|
||||
| 测试 | `.venv/bin/python3.12.exe manage.py test` |
|
||||
|
||||
> 开发环境使用系统已安装的 **Python 3.12.12**(命令 `python3.12`),不依赖 `python3` 别名。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user