revert: 撤掉单仓内的门户骨架,门户以独立仓 iotlcm-public/website 为唯一来源
mirror-to-gitee / mirror (push) Successful in 58s
mirror-to-gitee / mirror (push) Successful in 58s
原因 门户已拆分为独立仓 iotlcm-public/website(11:28 建仓,13:13 完成 fafc743「并入旧骨架独有价值内容,修 favicon 落地路径与过渡形态绑定」), 是门户的唯一事实来源。本仓6c8314a合并进来的 website/ 是拆分前的 旧骨架,继续保留会导致: - 两份门户代码持续漂移,同一问题要在两个仓各修一遍 - 单仓 compose / gateway / Makefile 里残留 with-website profile 与 /www/ 路由,与独立仓「门户自起容器、独立端口」的既定方案冲突 本提交 = revert -m 1 6c8314a,效果等同回到e98f856(git diffe98f856HEAD 为空)。回退点: tag backup/before-revert-portal-20261104 ->6c8314a门户部署改为(164 上,独立目录,不动 iotlcm-deploy): git clone https://git.5iot.com/iotlcm-public/website.git ~/iotlcm/website cd ~/iotlcm/website PORTAL_BIND_ADDR=0.0.0.0 docker compose -f deploy/docker-compose.yml up -d --build
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
# make test 跑全部 Go 模块的单元测试
|
||||
# make images 本地构建全部镜像(默认 tag 用 git describe)
|
||||
# make docs 本地构建文档站
|
||||
# make website 本地构建官网
|
||||
# make clean 清理构建产物
|
||||
#
|
||||
# 镜像仓库与版本可覆盖:
|
||||
@@ -30,10 +29,9 @@ IMAGE_MAP := \
|
||||
sms|iotlcm-sms|sms|build/Dockerfile| \
|
||||
bot|iotlcm-bot|bot|Dockerfile| \
|
||||
docs|iotlcm-docs|docs|Dockerfile| \
|
||||
website|iotlcm-website|website|Dockerfile| \
|
||||
onelink-mock|iotlcm-onelink-mock|onelink-mock|Dockerfile|
|
||||
|
||||
.PHONY: help build test images docs website clean
|
||||
.PHONY: help build test images docs clean
|
||||
|
||||
help:
|
||||
@grep -E '^# make' Makefile | sed 's/^# //'
|
||||
@@ -69,11 +67,6 @@ docs:
|
||||
cd docs && npm ci && npm run build
|
||||
@echo "✅ 文档站产物:docs/.vitepress/dist"
|
||||
|
||||
website:
|
||||
cd website && npm ci && npm run build
|
||||
@echo "✅ 官网产物:website/.vitepress/dist"
|
||||
|
||||
clean:
|
||||
@rm -rf docs/.vitepress/dist docs/.vitepress/cache
|
||||
@rm -rf website/.vitepress/dist website/.vitepress/cache
|
||||
@echo "✅ 已清理"
|
||||
|
||||
Reference in New Issue
Block a user