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

----------




D2R Will Mod

 https://bbs.d.163.com/forum.php?mod=viewthread&tid=174019384&extra=page%3D1