1 Star 0 Fork 0

OpenMerge/openmerge-console

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.ps1 724 Bytes
一键复制 编辑 原始数据 按行查看 历史
zhaohui 提交于 2025-03-09 18:53 +08:00 . 增加keycloak身份验证
# Set encoding to UTF-8
$OutputEncoding = [System.Text.Encoding]::UTF8
Write-Host "开始构建前端应用..." -ForegroundColor Yellow
# 安装依赖
Write-Host "安装依赖..." -ForegroundColor Yellow
npm install
# 构建应用
Write-Host "构建应用..." -ForegroundColor Yellow
npm run build
# 检查构建结果
if (Test-Path -Path "dist") {
Write-Host "构建成功!" -ForegroundColor Green
# 重启容器
Write-Host "重启前端容器..." -ForegroundColor Yellow
cd ../..
docker-compose restart core-console
Write-Host "前端应用已更新,请访问 http://localhost:8080 查看变更" -ForegroundColor Green
} else {
Write-Host "构建失败!" -ForegroundColor Red
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
HTML
1
https://gitee.com/openmerge/openmerge-console.git
git@gitee.com:openmerge/openmerge-console.git
openmerge
openmerge-console
openmerge-console
master

搜索帮助