feat: 用安装页和编排完成部署,并整理登录页

This commit is contained in:
2026-10-30 09:49:20 +08:00
parent 7ed299bbf6
commit 3fa4f83180
30 changed files with 635 additions and 121 deletions
+6 -1
View File
@@ -8,8 +8,13 @@ from app.runtime import start_background
def main() -> None:
import asyncio
import sys
if sys.platform == "win32":
asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
init_db()
start_background()
start_background("worker")
if postgres_conninfo():
from app.tasks.queue import serve