create: 只保留 Vue 界面和一个 .venv

MemRelay-Operation: memory-save:decision-single-vue-venv-20261015
MemRelay-Resource: b3b89e07-b9d9-47ab-a32e-df6124ea739f
This commit is contained in:
2026-10-15 11:09:59 +08:00
parent 06d06e5020
commit ef8e74dfb0
2 changed files with 57 additions and 0 deletions
@@ -0,0 +1,30 @@
---
title: Checkpoint 2026-10-15 03:09:58 UTC [83954a3d05]
type: checkpoint
permalink: main/projects/8e229c96-a83b-4a02-ac40-10a0a9da444e/checkpoint-2026-10-15-03-09-58-utc-83954a3d05
stable_id: b61eee59-b6f4-43db-b955-351eba47e963
scope: project
memory_type: checkpoint
project_id: 8e229c96-a83b-4a02-ac40-10a0a9da444e
usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998
status: active
revision: 1
request_id: checkpoint-single-vue-venv-20261015
created_at: '2026-10-15T03:09:58.219531+00:00'
updated_at: '2026-10-15T03:09:58.219531+00:00'
tags:
- handoff
- cleanup
- vue
---
## 完成内容
按用户要求去掉 Streamlit,只留 Vue 3 + Naive UI;Python 环境收成一个 .venv;依赖收成 requirements.txt;启动脚本收成 start.cmd / start.ps1。
旧 .venv 的 Python 3.14 解释器已不存在,删除后把 .venv-web 改名为 .venv,并删除 .venv-ui。
.venv 下 69 项 unittest 通过(去掉 4 项 Streamlit 页面测试)。未提交、未推送。backup/ 未动。
## 给下个会话
- 只在 main 上开发。启动用 start.cmd,不要再找 start-ui 或 start-web。
- 测试命令是 .venv\Scripts\python.exe -m unittest discover -s tests。
- uv 创建的 .venv 没有 pip 模块,装包用 uv pip install --python .venv\Scripts\python.exe -r requirements.txt。
- GridMap 仍只有 fid 24「测试区域」。不要删用户量注释和 WIFI 停用逻辑。整理模型不可用。
@@ -0,0 +1,27 @@
---
title: 只保留 Vue 界面和一个 .venv
type: decision
permalink: main/projects/8e229c96-a83b-4a02-ac40-10a0a9da444e/只保留-vue-界面和一个-.venv
stable_id: b3b89e07-b9d9-47ab-a32e-df6124ea739f
scope: project
memory_type: decision
project_id: 8e229c96-a83b-4a02-ac40-10a0a9da444e
usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998
status: active
revision: 1
request_id: decision-single-vue-venv-20261015
created_at: '2026-10-15T03:09:56.177003+00:00'
updated_at: '2026-10-15T03:09:56.177003+00:00'
tags:
- vue
- venv
- cleanup
---
2026-10-15 用户要求界面只保留 Vue 3 + Naive UI,Python 只留一个 .venv,依赖只留一份 requirements.txt,启动脚本只留一套。
已删除 Streamlit:app.py、ui/、.streamlit/、start-ui.cmd、start-ui.ps1,以及 tests/test_toolbox.py 里的页面测试。
启动脚本改名为 start.cmd / start.ps1,使用 .venv 和 requirements.txt,页面仍是 http://127.0.0.1:5173,接口仍是 http://127.0.0.1:8765。
requirements.txt 合并了原来的核心、楼宇查询和接口依赖,不再包含 streamlit。原来的 requirements-ui.txt、requirements-web.txt、requirements-nr-buildings.txt 已删除。
旧 .venv 指向已不存在的 Python 3.14,已删除。把能用的 .venv-web(Python 3.13.15)改名为 .venv,并删除 .venv-ui。.gitignore 只忽略 .venv/。
这次改动尚未提交。