f796ddf0a5
D2: install.php → install.html + FastAPI API
- 新增 server/api/install.py: 6个安装向导API端点(无JWT)
- 新增 web/app/install.html: Alpine.js五步安装向导
- main.py: 条件启动模式(无.env=安装模式,仅/api/install/可用)
- InstallModeMiddleware: 安装模式下非安装路由返回503
- DbSessionMiddleware: 跳过安装API(自管理临时引擎连接)
- 三写一致性: .env + config.php + MySQL settings表同步
D3: WebSSH terminal.html 完善
- 全功能xterm.js终端 + Koko协议 + 自动resize
- Alpine.js + Tailwind CSS v4 统一风格
- 全屏/断开连接/连接状态指示器
文档更新:
- status.md: 第五步→✅, 完成度~95%
- roadmap.md: D2技术债务已解决
52 lines
545 B
Plaintext
52 lines
545 B
Plaintext
# Nexus — Python
|
|
__pycache__/
|
|
*.py[cod]
|
|
*$py.class
|
|
*.egg-info/
|
|
dist/
|
|
build/
|
|
.eggs/
|
|
|
|
# Environment (NEVER commit — contains production credentials)
|
|
.env
|
|
.install_locked
|
|
.install_state.json
|
|
SECRETS.md
|
|
.venv/
|
|
venv/
|
|
ENV/
|
|
|
|
# IDE
|
|
.vscode/
|
|
.idea/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
|
|
# OS
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# Logs
|
|
*.log
|
|
nexus.log
|
|
|
|
# Test
|
|
.pytest_cache/
|
|
htmlcov/
|
|
.coverage
|
|
coverage.xml
|
|
|
|
# Node (for Tailwind/Alpine.js build)
|
|
node_modules/
|
|
web/css/tailwind-output.css
|
|
|
|
# Uploads
|
|
web/uploads/
|
|
|
|
# Data (sensitive)
|
|
web/data/config.php
|
|
web/data/*.db
|
|
|
|
# Deploy
|
|
deploy/*.key |