feat: production-ready pccs deployment — homepage working, RBAC active, all modules online
This commit is contained in:
parent
c8f73b9e23
commit
c09324c9ac
2
build.sh
2
build.sh
@ -163,6 +163,8 @@ for m in appbase rbac pcpool pcc storage_mgr image_mgr; do
|
||||
ln -sfn "${PKGDIR}/${m}/wwwroot" "${CDIR}/wwwroot/${m}" 2>/dev/null || true
|
||||
done
|
||||
ln -sfn "${PKGDIR}/pccs/wwwroot" "${CDIR}/wwwroot/pccs" 2>/dev/null || true
|
||||
# 确保根级 index.html 可访问
|
||||
cp -f "${PKGDIR}/pccs/wwwroot/index.html" "${CDIR}/wwwroot/index.html" 2>/dev/null || true
|
||||
# bricks
|
||||
if [ -f "${PKGDIR}/bricks/build.sh" ]; then
|
||||
(cd "${PKGDIR}/bricks" && npm install --silent 2>/dev/null && bash build.sh 2>&1 | tail -2) || true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user