feat: team org panel, admin CRUD, local deploy tools, bidirectional data sync
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>
This commit is contained in:
31
데이터배포.bat
Normal file
31
데이터배포.bat
Normal file
@@ -0,0 +1,31 @@
|
||||
@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
|
||||
Reference in New Issue
Block a user