Add TeamMember model and APIs, team status UI, /admin page, local server bats, and scripts to sync data between local PostgreSQL and Render. Co-authored-by: Cursor <cursoragent@cursor.com>
30 lines
472 B
Batchfile
30 lines
472 B
Batchfile
@echo off
|
|
if /i not "%~1"=="_run" (
|
|
cd /d "%~dp0"
|
|
cmd /k "%~f0" _run
|
|
exit /b 0
|
|
)
|
|
|
|
chcp 65001 >nul
|
|
cd /d "%~dp0backend"
|
|
|
|
echo ================================
|
|
echo EENE - Import data from Vercel
|
|
echo Source: eene-dashboard-backend.onrender.com
|
|
echo ================================
|
|
echo.
|
|
|
|
call npm run db:sync-remote
|
|
if errorlevel 1 goto :fail
|
|
|
|
echo.
|
|
echo Done. Open http://localhost:3000
|
|
goto :end
|
|
|
|
:fail
|
|
echo.
|
|
echo Import failed. Check error above.
|
|
|
|
:end
|
|
pause
|