Initial commit: 自然记忆站:12 页纯标准库 Python 静态站点生成器,含真实评测台账(108 条)与全站客户端检索

This commit is contained in:
WpyQwq
2026-09-19 11:21:45 +08:00
commit 1da4b14c19
44 changed files with 9624 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
@echo off
rem ============================================================
rem Natural Memory v2 — 站点启动脚本(Windows)
rem 默认监听 127.0.0.1:7443,仅本机可达,供反向代理使用
rem ============================================================
setlocal
cd /d "%~dp0"
set NM_HOST=%NM_HOST%
if "%NM_HOST%"=="" set NM_HOST=127.0.0.1
set NM_PORT=%NM_PORT%
if "%NM_PORT%"=="" set NM_PORT=7443
rem 优先使用项目常用的 conda 环境,其次退回 PATH 里的 python
set PYBIN=C:\Program Files\python\python.exe
if not exist "%PYBIN%" set PYBIN=python
echo Starting Natural Memory v2 site on http://%NM_HOST%:%NM_PORT%/
"%PYBIN%" server.py --host %NM_HOST% --port %NM_PORT%