update:1.更新项目版本号v1.1.0

This commit is contained in:
xiamuceer
2025-12-11 17:04:03 +08:00
parent 46d56d9fd8
commit c7bc5190c4
3 changed files with 2 additions and 37 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
# 应用配置
# ==========================================
APP_NAME=MuMuAINovel
APP_VERSION=1.0.8
APP_VERSION=1.1.0
APP_HOST=0.0.0.0
APP_PORT=8000
DEBUG=false
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "frontend",
"private": true,
"version": "1.0.12",
"version": "1.1.0",
"type": "module",
"scripts": {
"dev": "vite",
-35
View File
@@ -1,35 +0,0 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
MuMuAINovel 服务启动脚本
用于快速启动后端服务
"""
import sys
import os
from pathlib import Path
# 将backend目录添加到Python路径
backend_dir = Path(__file__).parent / "backend"
sys.path.insert(0, str(backend_dir))
import uvicorn
from app.config import settings
if __name__ == "__main__":
print("=" * 60)
print(f"🚀 启动 {settings.app_name} v{settings.app_version}")
print("=" * 60)
print(f"📍 服务地址: http://{settings.app_host}:{settings.app_port}")
print(f"📚 API文档: http://{settings.app_host}:{settings.app_port}/docs")
print(f"🔧 调试模式: {'启用' if settings.debug else '禁用'}")
print(f"🗄️ 数据库: PostgreSQL")
print("=" * 60)
print()
uvicorn.run(
"app.main:app",
host=settings.app_host,
port=settings.app_port,
reload=settings.debug,
log_level="info"
)