Files
eene_dashboard/PC이전.txt
EENE Dashboard b3f2da203b EENE Dashboard upload to Gitea
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-17 16:59:34 +09:00

34 lines
1.2 KiB
Plaintext

EENE Dashboard — 이 폴더만 통째로 옮기면 됩니다
============================================
■ 반드시 함께 복사
data\postgres\ DB (업무·팀원·허브 설정·첨부 정보)
data\seed\ HR seed (hr-data.json — 최초 import용)
uploads\ 첨부·팀 사진
backend\.env 설정 (없으면 서버시작 시 자동 생성)
■ 새 PC 준비
- Node.js 20+
- PostgreSQL 16 (Windows) 또는 Docker Desktop
■ 실행 (2개 파일)
서버시작.bat → DB(data\postgres) + 서버 + 화면
서버종료.bat → API/WEB만 종료 (DB 유지)
서버종료.bat db → DB까지 중지
■ 첫 실행 시
예전 Windows PostgreSQL(5432)에 데이터가 있으면
자동으로 data\postgres 로 옮깁니다.
■ 접속
http://localhost:3000
■ PC 옮긴 뒤 [2/4] DB에서 멈출 때
1. PostgreSQL 16 설치 (5432 기본값 그대로 OK)
2. 서버종료.bat db 실행 후 서버시작.bat 재실행
3. 안 되면 data\postgres\postmaster.pid 삭제 후 재실행
4. data\postgres\pg.log 마지막 줄 확인
- 버전 불일치면 새 PC도 PostgreSQL 16 사용
자세한 내용: README.md