GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — WCMS/docs/GETTING_STARTED.md at main · Nekonic/WCMS

Expand file tree

/

GETTING_STARTED.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
116 lines (79 loc) · 2.89 KB
/

GETTING_STARTED.md

Copy path

File metadata and controls

116 lines (79 loc) · 2.89 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

WCMS 시작 가이드

WCMS 프로젝트를 설치하고 실행하는 가이드입니다.


빠른 시작

1. 필수 요구사항

  • Python 3.9 이상
  • Git
  • uv (패키지 관리자)

2. 저장소 클론 및 실행

git clone https://github.com/Nekonic/WCMS.git
cd WCMS

# 의존성 설치
python3 manage.py install

# 데이터베이스 초기화
python3 manage.py init-db

# 서버 실행
python3 manage.py run

접속 주소: http://localhost:5050 | 기본 계정: admin / admin


클라이언트 설치

1. 등록 PIN 생성

  1. 서버 관리자 페이지(http://localhost:5050) 접속
  2. 로그인 (admin / admin)
  3. 등록 토큰 메뉴 클릭
  4. 토큰 생성 후 6자리 PIN 복사

2. 자동 설치 (관리자 권한)

Windows CMD:

curl -fsSL http://서버주소:5050/install/install.cmd -o install.cmd && install.cmd && del install.cmd

PowerShell:

iwr -Uri "http://서버주소:5050/install/install.ps1" -OutFile install.ps1; .\install.ps1; del install.ps1

설치 중 PIN을 입력하면 자동으로 등록되고 서비스가 시작됩니다.

3. 자동 업데이트

클라이언트는 시작 시 자동으로 최신 버전을 확인하고 업데이트합니다. 서버 관리자 페이지 → 클라이언트 버전 메뉴에서 버전을 등록하면 클라이언트가 감지하여 자동 교체합니다.


관리 명령어

명령어 설명
python3 manage.py run 서버 실행 (개발 모드)
python3 manage.py run --prod 서버 실행 (Gunicorn, 프로덕션)
python3 manage.py test 단위 테스트 실행
python3 manage.py build 클라이언트 EXE 빌드 (Windows 전용)
python3 manage.py init-db [id] [pw] DB 초기화 (기본값: admin / admin)
python3 manage.py install 의존성 설치

자주 하는 실수

포트가 이미 사용 중

# Windows
netstat -ano | findstr :5050
taskkill /PID <PID> /F

클라이언트 빌드는 Windows에서만 가능 python3 manage.py build는 Windows 환경에서만 실행 가능합니다 (pywin32, WMI 의존성 필요).

서비스 시작 실패 (Exit code 2) install.cmd를 관리자 권한으로 다시 실행하세요.

프로그램 설치/삭제 실패 WCMS는 Chocolatey를 사용합니다. 네트워크 문제로 실패한 경우 수동으로 Chocolatey를 설치하세요.


동작 확인

# 버전 정보 확인
curl http://localhost:5050/api/client/version

# 단위 테스트
python3 manage.py test

다음 단계

  • 프로덕션 배포 — systemd 서비스, 백업, 운영 관리
  • API 명세 — REST API 상세 설명
  • 아키텍처 — 시스템 구조 이해
  • 보안 — HTTPS 설정 및 보안 정책
  • 변경 이력 — 최신 변경사항 확인
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.