feat: add Docker deployment and Microsoft OAuth support

This commit is contained in:
2026-04-18 14:02:24 +08:00
parent 6704cfb418
commit e69c0dd226
53 changed files with 5139 additions and 4029 deletions

26
dev.bat
View File

@@ -1,13 +1,13 @@
@echo off
rem 一键启动本地开发: 后端 Go 和 前端 Vite, 各自独立窗口.
setlocal
set ROOT=%~dp0
start "mengpost-backend" cmd /k "cd /d %ROOT%mengpost-backend && go mod tidy && go run ."
start "mengpost-frontend" cmd /k "cd /d %ROOT%mengpost-frontend && (if not exist node_modules npm install) && npm run dev"
echo.
echo backend : http://127.0.0.1:8787
echo frontend: http://127.0.0.1:5173
echo.
endlocal
@echo off
rem 一键启动本地开发: 后端 Go 和 前端 Vite, 各自独立窗口.
setlocal
set ROOT=%~dp0
start "mengpost-backend" cmd /k "cd /d %ROOT%mengpost-backend && go mod tidy && go run ."
start "mengpost-frontend" cmd /k "cd /d %ROOT%mengpost-frontend && (if not exist node_modules npm install) && npm run dev"
echo.
echo backend : http://127.0.0.1:8787
echo frontend: http://127.0.0.1:5173
echo.
endlocal