mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-22 16:43:35 +00:00
chore: 更新项目配置文件
- 更新 Docker 配置和构建脚本 - 优化项目文档和部署脚本 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -458,6 +458,10 @@ EOF
|
||||
print_info "安装Web界面依赖..."
|
||||
npm run install:web
|
||||
|
||||
# 构建前端
|
||||
print_info "构建前端界面..."
|
||||
npm run build:web
|
||||
|
||||
# 创建systemd服务文件(Linux)
|
||||
if [[ "$OS" == "debian" || "$OS" == "redhat" || "$OS" == "arch" ]]; then
|
||||
create_systemd_service
|
||||
@@ -547,6 +551,10 @@ update_service() {
|
||||
npm install
|
||||
npm run install:web
|
||||
|
||||
# 构建前端
|
||||
print_info "构建前端界面..."
|
||||
npm run build:web
|
||||
|
||||
# 启动服务
|
||||
start_service
|
||||
|
||||
|
||||
Reference in New Issue
Block a user