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>
32 lines
543 B
Batchfile
32 lines
543 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 - Push data to Render
|
|
echo Target: eene-dashboard-backend.onrender.com
|
|
echo ================================
|
|
echo.
|
|
echo NOTE: Code must be deployed first (git push).
|
|
echo.
|
|
|
|
call npm run db:push-remote
|
|
if errorlevel 1 goto :fail
|
|
|
|
echo.
|
|
echo Open https://eene-dashboard.vercel.app/
|
|
goto :end
|
|
|
|
:fail
|
|
echo.
|
|
echo Push failed. Deploy code first, then retry.
|
|
|
|
:end
|
|
pause
|