2026年4月7日星期二

杀掉端口5173的进程12345

 netstat -ano | findstr :5173

taskkill /PID 12345 /F


-----------

cd c:\Users\AlenZhu\Documents\trae_projects\oceanfishing\server

$env:PORT=5175

npm run start

--------

node -e "fetch('http://localhost:5175/api/seed?areaId=tioman_4h&start=2026-04-08&end=2027-12-31',{method:'POST'}).then(r=>r.json()).then(console.log)"

----------

cd c:\Users\AlenZhu\Documents\trae_projects\oceanfishing

firebase use staging

firebase deploy --only hosting

--------------


cd c:\Users\AlenZhu\Documents\trae_projects\oceanfishing\server

$env:GOOGLE_APPLICATION_CREDENTIALS="C:\Users\AlenZhu\Secrets\tiomanfishing-sa.json"

npm run sync

----------




Loveable.app 如何移植到windows 2016 server

  将 Lovable 创建的网站代码发布到 GitHub,下载到本地并在 Windows Server 2016 上通过 IIS 部署,整体流程非常清晰。 由于 Lovable 项目通常是基于 React / Vite 开发的前端单页应用(SPA),你不能直接将源代码中的 ....