This commit is contained in:
hashbro
2026-08-05 04:04:06 +08:00
parent 7f35e04634
commit d4fb538997
94 changed files with 921 additions and 135 deletions
+9 -7
View File
@@ -23,23 +23,25 @@ https://www.dhxuhdbej888.icu/web/34f5121f572d6742703eb84ec2f866a6/
## 新建 / 刷新工作树(推荐)
从 `source/` 复制 `web` + `sync` 到 **lab 根目录**,再自动 `patch_all.py --apply`(换 Deployment/Reporting seed,打出新域名):
从 `source/` 复制 `web` + `sync` 到 **`server/public/`**,再自动 `patch_all.py --apply`:
```bash
cd coruna-lab
pip3 install py7zr pycryptodome
python3 tools/new_project.py
# 指定 seed:
# 指定 seed / 固定域名:
python3 tools/new_project.py --deployment-seed … --reporting-seed …
python3 tools/new_project.py \
--deployment-domains 'a.example,b.example' \
--reporting-domains 'c.example,d.example'
```
域名见 `out/domains.json`。本地服务:
域名见 `server/public/out/domains.json`;入口由 Laravel/`server/public` 提供:
```bash
python3 -m http.server 8765 --bind 0.0.0.0
# 入口:
# http://<lan-ip>:8765/web/34f5121f572d6742703eb84ec2f866a6/support.html
```text
https://<host>/web/34f5121f572d6742703eb84ec2f866a6/support.html
https://<host>/sync/daily.html
```
## 文档