diff --git a/DSCF0130.RAF_compressed.JPEG b/DSCF0130.RAF_compressed.JPEG deleted file mode 100644 index d5667ff..0000000 Binary files a/DSCF0130.RAF_compressed.JPEG and /dev/null differ diff --git a/DSCF0313.RAF_compressed.JPEG b/DSCF0313.RAF_compressed.JPEG deleted file mode 100644 index e295247..0000000 Binary files a/DSCF0313.RAF_compressed.JPEG and /dev/null differ diff --git a/DSCF0390.RAF_compressed.JPEG b/DSCF0390.RAF_compressed.JPEG deleted file mode 100644 index bd1f4d5..0000000 Binary files a/DSCF0390.RAF_compressed.JPEG and /dev/null differ diff --git a/VIEWER_REFACTORING.md b/VIEWER_REFACTORING.md deleted file mode 100644 index c6b6519..0000000 --- a/VIEWER_REFACTORING.md +++ /dev/null @@ -1,139 +0,0 @@ -# Viewer.js 리팩토링 계획 - -## 📊 현재 상황 -- **파일 크기**: 3,712줄 (너무 큼!) -- **주요 문제**: 유지보수 어려움, 기능 추가 시 복잡도 증가 -- **목표**: 모듈화를 통한 코드 분리 및 관리성 향상 - -## 🏗️ 분리 구조 - -``` -frontend/static/js/viewer/ -├── core/ -│ ├── viewer-core.js # 메인 Alpine.js 컴포넌트 -│ └── document-loader.js # 문서/노트 로딩 -├── features/ -│ ├── highlight-manager.js # 하이라이트/메모 관리 -│ ├── link-manager.js # 문서링크/백링크 관리 -│ ├── bookmark-manager.js # 북마크 관리 -│ └── ui-manager.js # 모달/패널/검색 UI -└── utils/ - ├── text-utils.js # 텍스트 선택/조작 유틸 - └── dom-utils.js # DOM 조작 유틸 -``` - -## 📦 모듈별 책임 - -### 1. 📄 DocumentLoader (`core/document-loader.js`) -**책임**: 문서/노트 로딩 및 네비게이션 -- `loadDocument()` - HTML 문서 로딩 -- `loadNote()` - 노트 문서 로딩 -- `loadNavigation()` - 네비게이션 정보 로딩 -- `checkForTextHighlight()` - URL 파라미터 기반 하이라이트 - -### 2. 🎨 HighlightManager (`features/highlight-manager.js`) -**책임**: 하이라이트 및 메모 관리 -- `loadHighlights()` - 하이라이트 데이터 로딩 -- `loadNotes()` - 메모 데이터 로딩 -- `renderHighlights()` - 하이라이트 렌더링 -- `createHighlightWithColor()` - 하이라이트 생성 -- `saveNote()` - 메모 저장 -- `deleteNote()` - 메모 삭제 - -### 3. 🔗 LinkManager (`features/link-manager.js`) -**책임**: 문서링크 및 백링크 관리 -- `loadDocumentLinks()` - 문서링크 로딩 -- `loadBacklinks()` - 백링크 로딩 -- `renderDocumentLinks()` - 문서링크 렌더링 -- `renderBacklinkHighlights()` - 백링크 하이라이트 렌더링 -- `createLink()` - 링크 생성 -- `navigateToLink()` - 링크 네비게이션 - -### 4. 📌 BookmarkManager (`features/bookmark-manager.js`) -**책임**: 북마크 관리 -- `loadBookmarks()` - 북마크 데이터 로딩 -- `saveBookmark()` - 북마크 저장 -- `deleteBookmark()` - 북마크 삭제 -- `navigateToBookmark()` - 북마크로 이동 - -### 5. 🎛️ UIManager (`features/ui-manager.js`) -**책임**: 모달, 패널, 검색 UI 관리 -- `toggleFeatureMenu()` - 기능 메뉴 토글 -- `showModal()` / `hideModal()` - 모달 관리 -- `handleSearch()` - 검색 기능 -- `toggleLanguage()` - 언어 전환 -- `setupTextSelectionMode()` - 텍스트 선택 모드 - -### 6. 🔧 ViewerCore (`core/viewer-core.js`) -**책임**: Alpine.js 컴포넌트 및 모듈 통합 -- Alpine.js 상태 관리 -- 모듈 간 통신 조정 -- 초기화 및 라이프사이클 관리 -- 전역 이벤트 처리 - -### 7. 🛠️ Utils -**책임**: 공통 유틸리티 함수 -- `text-utils.js`: 텍스트 선택, 범위 조작 -- `dom-utils.js`: DOM 조작, 요소 검색 - -## 🔄 연결관계도 - -```mermaid -graph TD - A[ViewerCore] --> B[DocumentLoader] - A --> C[HighlightManager] - A --> D[LinkManager] - A --> E[BookmarkManager] - A --> F[UIManager] - - B --> G[text-utils] - C --> G - C --> H[dom-utils] - D --> G - D --> H - E --> G - F --> H - - C -.-> D[하이라이트↔링크 연동] - D -.-> C[백링크↔하이라이트 연동] -``` - -## 📋 마이그레이션 순서 - -1. **📄 DocumentLoader** (가장 독립적) -2. **🎨 HighlightManager** (백링크와 연관성 적음) -3. **📌 BookmarkManager** (독립적 기능) -4. **🎛️ UIManager** (UI 관련 기능) -5. **🔗 LinkManager** (백링크 개선 예정이므로 마지막) -6. **🔧 ViewerCore** (모든 모듈 통합) - -## 🔍 현재 코드 의존성 분석 - -### 핵심 함수들: -- **초기화**: `init()`, `loadDocumentData()` -- **문서 로딩**: `loadDocument()`, `loadNote()`, `loadNavigation()` -- **하이라이트**: `renderHighlights()`, `createHighlight()`, `handleTextSelection()` -- **메모**: `saveNote()`, `deleteNote()`, `createMemoForHighlight()` -- **북마크**: `addBookmark()`, `saveBookmark()`, `deleteBookmark()` -- **링크**: `renderDocumentLinks()`, `renderBacklinkHighlights()`, `loadBacklinks()` -- **UI**: `toggleLanguage()`, `searchInDocument()`, `goBack()` - -### 상호 의존성: -1. **하이라이트 ↔ 메모**: `createMemoForHighlight()` 연결 -2. **하이라이트 ↔ 링크**: `renderBacklinkHighlights()` 연결 -3. **문서로딩 → 모든 기능**: 초기화 후 모든 기능 활성화 -4. **UI → 모든 기능**: 모달/패널에서 모든 기능 호출 - -## ⚠️ 주의사항 - -- **점진적 마이그레이션**: 한 번에 하나씩 분리 -- **기능 테스트**: 각 단계마다 기능 동작 확인 -- **의존성 관리**: 모듈 간 순환 참조 방지 -- **Alpine.js 호환성**: 기존 템플릿과의 호환성 유지 - -## 🎯 기대 효과 - -- **유지보수성 향상**: 기능별 코드 분리 -- **개발 효율성**: 병렬 개발 가능 -- **테스트 용이성**: 모듈별 단위 테스트 -- **확장성**: 새 기능 추가 시 영향 범위 최소화 diff --git a/backend/uploads/documents/0ea7a871-9716-410f-af1f-bbc16f174558.html b/backend/uploads/documents/0ea7a871-9716-410f-af1f-bbc16f174558.html deleted file mode 100644 index 8538ae3..0000000 --- a/backend/uploads/documents/0ea7a871-9716-410f-af1f-bbc16f174558.html +++ /dev/null @@ -1,504 +0,0 @@ - - - - - - 압력용기 설계 매뉴얼 - Pressure Vessel Design Manual - - - - - -
- -
-

Pressure Vessel Design Manual

-

Fourth Edition

- -
-

Dennis R. Moss
Michael Basic

-

AMSTERDAM • BOSTON • HEIDELBERG • LONDON • NEW YORK • OXFORD
- PARIS • SAN DIEGO • SAN FRANCISCO • SINGAPORE • SYDNEY • TOKYO

-

Butterworth-Heinemann is an imprint of Elsevier

-
- - - -

Contents

-
-
Preface to the 4th Edition ix
- -
1: General Topics 1
-
Design Philosophy 1
-
Stress Analysis 2
-
Stress/Failure Theories 3
-
Failures in Pressure Vessels 7
-
Loadings 8
-
Stress 10
-
Thermal Stresses 13
-
Discontinuity Stresses 14
-
Fatigue Analysis for Cyclic Service 15
-
Creep 24
-
Cryogenic Applications 32
-
Service Considerations 34
-
Miscellaneous Design Considerations 35
-
Items to be Included in a User's Design Specification (UDS) for ASME VIII-2 Vessels 35
-
References 36
- -
2: General Design 37
-
Procedure 2-1: General Vessel Formulas 38
-
Procedure 2-2: External Pressure Design 42
-
Procedure 2-3: Properties of Stiffening Rings 51
-
Procedure 2-4: Code Case 2286 54
-
Procedure 2-5: Design of Cones 58
-
Procedure 2-6: Design of Toriconical Transitions 67
-
Procedure 2-7: Stresses in Heads Due to Internal Pressure 70
-
Procedure 2-8: Design of Intermediate Heads 74
-
Procedure 2-9: Design of Flat Heads 76
-
Procedure 2-10: Design of Large Openings in Flat Heads 81
-
Procedure 2-11: Calculate MAP, MAWP, and Test Pressures 83
-
Procedure 2-12: Nozzle Reinforcement 85
-
Procedure 2-13: Find or Revise the Center of Gravity of a Vessel 90
-
Procedure 2-14: Minimum Design Metal Temperature (MDMT) 90
-
Procedure 2-15: Buckling of Thin Wall Cylindrical Shells 95
-
Procedure 2-16: Optimum Vessel Proportions 96
-
Procedure 2-17: Estimating Weights of Vessels and Vessel Components 102
-
Procedure 2-18: Design of Jacketed Vessels 124
-
Procedure 2-19: Forming Strains/Fiber Elongation 134
-
References 138
- -
3: Flange Design 139
-
Introduction 140
-
Procedure 3-1: Design of Flanges 148
-
Procedure 3-2: Design of Spherically Dished Covers 165
-
Procedure 3-3: Design of Blind Flanges with Openings 167
-
Procedure 3-4: Bolt Torque Required for Sealing Flanges 169
-
Procedure 3-5: Design of Studding Outlets 172
-
Procedure 3-6: Reinforcement for Studding Outlets 175
-
Procedure 3-7: Studding Flanges 176
-
Procedure 3-8: Design of Elliptical, Internal Manways 181
-
Procedure 3-9: Through Nozzles 182
-
References 183
- -
4: Design of Vessel Supports 185
-
Introduction: Support Structures 186
-
Procedure 4-1: Wind Design Per ASCE 189
-
Procedure 4-2: Seismic Design - General 199
-
Procedure 4-3: Seismic Design for Vessels 204
-
Procedure 4-4: Seismic Design - Vessel on Unbraced Legs 208
-
Procedure 4-5: Seismic Design - Vessel on Braced Legs 217
-
Procedure 4-6: Seismic Design - Vessel on Rings 223
-
Procedure 4-7: Seismic Design - Vessel on Lugs 229
-
Procedure 4-8: Seismic Design - Vessel on Skirt 239
-
Procedure 4-9: Seismic Design - Vessel on Conical Skirt 248
-
Procedure 4-10: Design of Horizontal Vessel on Saddles 253
-
Procedure 4-11: Design of Saddle Supports for Large Vessels 267
-
Procedure 4-12: Design of Base Plates for Legs 275
-
Procedure 4-13: Design of Lug Supports 278
-
Procedure 4-14: Design of Base Details for Vertical Vessels-Shifted Neutral Axis Method 281
-
Procedure 4-15: Design of Base Details for Vertical Vessels - Centered Neutral Axis Method 291
-
Procedure 4-16: Design of Anchor Bolts for Vertical Vessels 293
-
Procedure 4-17: Properties of Concrete 295
-
References 296
- -
5: Vessel Internals 297
-
Procedure 5-1: Design of Internal Support Beds 298
-
Procedure 5-2: Design of Lattice Beams 310
-
Procedure 5-3: Shell Stresses due to Loadings at Support Beam Locations 316
-
Procedure 5-4: Design of Support Blocks 319
-
Procedure 5-5: Hub Rings used for Bed Supports 321
-
Procedure 5-6: Design of Pipe Coils for Heat Transfer 326
-
Procedure 5-7: Agitators/Mixers for Vessels and Tanks 345
-
Procedure 5-8: Design of Internal Pipe Distributors 353
-
Procedure 5-9: Design of Trays 366
-
Procedure 5-10: Flow Over Weirs 375
-
Procedure 5-11: Design of Demisters 376
-
Procedure 5-12: Design of Baffles 381
-
Procedure 5-13: Design of Impingement Plates 391
-
References 392
- -
6: Special Designs 393
-
Procedure 6-1: Design of Large-Diameter Nozzle Openings 394
-
Large Openings—Membrane and Bending Analysis 397
-
Procedure 6-2: Tower Deflection 397
-
Procedure 6-3: Design of Ring Girders 401
-
Procedure 6-4: Design of Vessels with Refractory Linings 406
-
Procedure 6-5: Vibration of Tall Towers and Stacks 418
-
Procedure 6-6: Underground Tanks & Vessels 428
-
Procedure 6-7: Local Thin Area (LTA) 432
-
References 433
- -
7: Local Loads 435
-
Procedure 7-1: Stresses in Circular Rings 437
-
Procedure 7-2: Design of Partial Ring Stiffeners 446
-
Procedure 7-3: Attachment Parameters 448
-
Procedure 7-4: Stresses in Cylindrical Shells from External Local Loads 449
-
Procedure 7-5: Stresses in Spherical Shells from External Local Loads 465
-
References 472
- -
8: High Pressure Vessels 473
-
1.0. General 474
-
2.0. Shell Design 496
-
3.0. Design of Closures 502
-
4.0. Nozzles 551
-
5.0. References 556
- -
9: Related Equipment 557
-
Procedure 9-1: Design of Davits 558
-
Procedure 9-2: Design of Circular Platforms 563
-
Procedure 9-3: Design of Square and Rectangular Platforms 571
-
Procedure 9-4: Design of Pipe Supports 576
-
Procedure 9-5: Shear Loads in Bolted Connections 584
-
Procedure 9-6: Design of Bins and Elevated Tanks 586
-
Procedure 9-7: Field-Fabricated Spheres 594
-
References 630
- -
10: Transportation and Erection of Pressure Vessels 631
-
Procedure 10-1: Transportation of Pressure Vessels 632
-
Procedure 10-2: Erection of Pressure Vessels 660
-
Procedure 10-3: Lifting Attachments and Terminology 666
-
Procedure 10-4: Lifting Loads and Forces 675
-
Procedure 10-5: Design of Tail Beams, Lugs, and Base Ring Details 681
-
Procedure 10-6: Design of Top Head and Cone Lifting Lugs 691
-
Procedure 10-7: Design of Flange Lugs 695
-
Procedure 10-8: Design of Trunnions 706
-
Procedure 10-9: Local Loads in Shell Due to Erection Forces 710
-
Procedure 10-10: Miscellaneous 713
- -
11: Materials 719
-
11.1. Types of Materials 720
-
11.2. Properties of Materials 723
-
11.3. Bolting 728
-
11.4. Testing & Examination 732
-
11.5. Heat Treatment 738
- -
Appendices 743
-
Index 803
-
- -

Preface to the 4th Edition

-
-

When I started the Pressure Vessel Design Manual 35 years ago, I had no idea where it would lead. The first edition alone took 10 years to publish. It began when I first started working for a small vessel shop in Los Angeles in 1972. I could not believe how little information was available to engineers and designers in our industry at that time. I began collecting and researching everything I could get my hands on. As I collected more and more, I began writing procedures around various topics. After a while I had a pretty substantial collection and someone suggested that it might make a good book.

- -

However I was constantly revising them and didn't think any of them were complete enough to publish. After a while I began trying to perfect them so that they could be published. This is the point at which the effort changed from a hobby to a vocation. My goal was to provide as complete a collection of equations, data and procedures for the design of pressure vessels that I could assemble. I never thought of myself as an author in this regard... but only the editor. I was not developing equations or methods, but only collecting and collating them. The presentation of the materials was then, and still is, the focus of my efforts. As stated all along "The author makes no claim to originality, other than that of format."

- -

My target audience was always the person in the shop who was ultimately responsible for the designs they manufactured. I have seen all my goals for the PVDM exceeded in every way possible. Through my work with Fluor, I have had the opportunity to travel to 40 countries and have visited 60 vessel shops. In the past 10 years, I have not visited a shop that was not using the PVDM. This has been my reward. This book is now, and always has been, dedicated to the end user. Thank you.

- -

The PVDM is a "designers" manual foremost, and not an engineering textbook. The procedures are streamlined to provide a weight, size or thickness. For the most part, wherever possible, it avoids the derivation of equations or the theoretical background. I have always sought out the simplest and most direct solutions.

- -

If I have an interest in seeing this book continuing, then it must be done under the direction of a new, younger and very talented person.

- -

Finally, I would like to offer my warmest, heartfelt thanks to all of you that have made comments, contributions, sent me literature, or encouraged me over the past 35 years. It is immensely rewarding to have watched the book evolve over the years. This book would not have been possible without you!

- -

Dennis R. Moss

-
-
- - - -
- - - - \ No newline at end of file diff --git a/frontend/test-upload.html b/frontend/test-upload.html deleted file mode 100644 index 2c62e18..0000000 --- a/frontend/test-upload.html +++ /dev/null @@ -1,100 +0,0 @@ - - - - - - 테스트 문서 - - - -
-

Document Server 테스트 문서

- -

이 문서는 Document Server의 업로드 및 뷰어 기능을 테스트하기 위한 샘플 문서입니다. - 하이라이트, 메모, 책갈피 등의 기능을 테스트할 수 있습니다.

- -

주요 기능

-

Document Server는 다음과 같은 기능을 제공합니다:

- - -
- 중요: 이 부분은 하이라이트 테스트를 위한 중요한 내용입니다. - 사용자는 이 텍스트를 선택하여 하이라이트를 추가하고 메모를 작성할 수 있습니다. -
- -

기술 스택

-

이 프로젝트는 다음 기술들을 사용하여 구축되었습니다:

- -
- 백엔드: FastAPI, SQLAlchemy, PostgreSQL
- 프론트엔드: HTML5, CSS3, JavaScript, Alpine.js
- 인프라: Docker, Nginx -
- -

사용 방법

-

문서를 읽으면서 다음과 같은 작업을 수행할 수 있습니다:

- -
    -
  1. 텍스트를 선택하여 하이라이트 추가
  2. -
  3. 하이라이트에 메모 작성
  4. -
  5. 중요한 위치에 책갈피 설정
  6. -
  7. 검색 기능을 통해 내용 찾기
  8. -
- -

이 문서는 업로드 테스트가 완료되면 뷰어에서 확인할 수 있으며, - 모든 annotation 기능을 테스트해볼 수 있습니다.

- -
- 테스트 완료: 이 문서가 정상적으로 표시되면 업로드 기능이 - 올바르게 작동하는 것입니다. -
-
- - diff --git a/frontend/test.html b/frontend/test.html deleted file mode 100644 index b6376a5..0000000 --- a/frontend/test.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - 테스트 페이지 - - - - -
-

-

이 페이지가 보이면 기본 설정은 정상입니다.

- -
-

링크

- -
-
- - diff --git a/scripts/cleanup-for-production.sh b/scripts/cleanup-for-production.sh new file mode 100755 index 0000000..ebaf837 --- /dev/null +++ b/scripts/cleanup-for-production.sh @@ -0,0 +1,198 @@ +#!/bin/bash + +# ============================================================================= +# Document Server - 프로덕션 배포용 정리 스크립트 +# 테스트 파일, 개발용 데이터, 로그 파일 등을 정리합니다 +# ============================================================================= + +set -e + +# 색상 정의 +RED='\033[0;31m' +GREEN='\033[0;32m' +YELLOW='\033[1;33m' +BLUE='\033[0;34m' +NC='\033[0m' + +log_info() { + echo -e "${BLUE}[INFO]${NC} $1" +} + +log_success() { + echo -e "${GREEN}[SUCCESS]${NC} $1" +} + +log_warning() { + echo -e "${YELLOW}[WARNING]${NC} $1" +} + +# 환경 설정 +SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +PROJECT_DIR="$(dirname "$SCRIPT_DIR")" + +cd "$PROJECT_DIR" + +echo "=== 🧹 프로덕션 배포용 정리 시작 ===" +echo "" + +# 1. 테스트 파일 제거 +log_info "🗑️ 테스트 파일 제거 중..." + +# 테스트 HTML 파일들 +TEST_FILES=( + "test-document.html" + "test-upload.html" + "test.html" + "cache-buster.html" + "frontend/test-upload.html" + "frontend/test.html" +) + +for file in "${TEST_FILES[@]}"; do + if [ -f "$file" ]; then + rm "$file" + log_success "제거: $file" + fi +done + +# 2. 개발용 이미지 파일 제거 +log_info "🖼️ 테스트 이미지 파일 제거 중..." + +# RAF 이미지 파일들 (테스트용) +find . -name "*.RAF_compressed.JPEG" -delete 2>/dev/null || true +find . -name "*.RAF" -delete 2>/dev/null || true + +log_success "테스트 이미지 파일 제거 완료" + +# 3. 로그 파일 정리 +log_info "📝 로그 파일 정리 중..." + +LOG_FILES=( + "backend.log" + "frontend.log" +) + +for file in "${LOG_FILES[@]}"; do + if [ -f "$file" ]; then + rm "$file" + log_success "제거: $file" + fi +done + +# 4. Python 캐시 파일 정리 +log_info "🐍 Python 캐시 파일 정리 중..." + +find . -type d -name "__pycache__" -exec rm -rf {} + 2>/dev/null || true +find . -name "*.pyc" -delete 2>/dev/null || true +find . -name "*.pyo" -delete 2>/dev/null || true + +log_success "Python 캐시 파일 정리 완료" + +# 5. 개발용 업로드 파일 정리 +log_info "📁 개발용 업로드 파일 정리 중..." + +# 백엔드 uploads 디렉토리 +if [ -d "backend/uploads" ]; then + rm -rf backend/uploads/documents/* 2>/dev/null || true + rm -rf backend/uploads/thumbnails/* 2>/dev/null || true + log_success "백엔드 업로드 파일 정리 완료" +fi + +# 프론트엔드 uploads 디렉토리 +if [ -d "frontend/uploads" ]; then + rm -rf frontend/uploads/* 2>/dev/null || true + log_success "프론트엔드 업로드 파일 정리 완료" +fi + +# 루트 uploads 디렉토리 +if [ -d "uploads" ]; then + rm -rf uploads/documents/* 2>/dev/null || true + rm -rf uploads/pdfs/* 2>/dev/null || true + rm -rf uploads/thumbnails/* 2>/dev/null || true + log_success "루트 업로드 파일 정리 완료" +fi + +# 6. 가상환경 제거 (프로덕션에서는 Docker 사용) +log_info "🐍 가상환경 제거 중..." + +if [ -d "backend/venv" ]; then + rm -rf backend/venv + log_success "가상환경 제거 완료" +fi + +# 7. 개발용 설정 파일 정리 +log_info "⚙️ 개발용 설정 파일 정리 중..." + +# 환경 변수 파일들 (프로덕션에서 새로 생성) +DEV_CONFIG_FILES=( + ".env" + ".env.local" + ".env.development" + "backend/.env" +) + +for file in "${DEV_CONFIG_FILES[@]}"; do + if [ -f "$file" ]; then + rm "$file" + log_success "제거: $file" + fi +done + +# 8. 불필요한 문서 파일 정리 +log_info "📚 개발용 문서 파일 정리 중..." + +DEV_DOCS=( + "VIEWER_REFACTORING.md" +) + +for file in "${DEV_DOCS[@]}"; do + if [ -f "$file" ]; then + rm "$file" + log_success "제거: $file" + fi +done + +# 9. 빈 디렉토리 정리 +log_info "📂 빈 디렉토리 정리 중..." + +find . -type d -empty -delete 2>/dev/null || true + +# 10. 권한 정리 +log_info "🔐 파일 권한 정리 중..." + +# 스크립트 파일 실행 권한 확인 +chmod +x scripts/*.sh 2>/dev/null || true + +# 설정 파일 권한 설정 +find . -name "*.conf" -exec chmod 644 {} \; 2>/dev/null || true +find . -name "*.yml" -exec chmod 644 {} \; 2>/dev/null || true +find . -name "*.yaml" -exec chmod 644 {} \; 2>/dev/null || true + +log_success "파일 권한 정리 완료" + +# 11. 정리 결과 요약 +echo "" +echo "=== 📊 정리 결과 ===" + +# 현재 디렉토리 크기 +TOTAL_SIZE=$(du -sh . | cut -f1) +echo "전체 크기: $TOTAL_SIZE" + +# 주요 디렉토리 크기 +echo "" +echo "주요 디렉토리:" +du -sh backend frontend scripts nginx 2>/dev/null | while read size dir; do + echo " $dir: $size" +done + +echo "" +echo "=== ✅ 정리 완료 ===" +echo "" +echo "🚀 이제 프로덕션 배포 준비가 완료되었습니다!" +echo "" +echo "다음 단계:" +echo "1. NAS에 업로드" +echo "2. ./scripts/deploy-synology.sh 실행" +echo "3. 배포 완료!" + +log_success "프로덕션 정리 스크립트 완료" diff --git a/test-document.html b/test-document.html deleted file mode 100644 index 83af052..0000000 --- a/test-document.html +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - 테스트 문서 - - -

Document Server 테스트 문서

- -

1. 소개

-

이 문서는 Document Server의 하이라이트 및 메모 기능을 테스트하기 위한 샘플 문서입니다. - 텍스트를 선택하면 하이라이트를 추가할 수 있고, 하이라이트에 메모를 연결할 수 있습니다.

- -

2. 주요 기능

- - -

3. 사용 방법

-

3.1 하이라이트 추가

-

원하는 텍스트를 마우스로 드래그하여 선택하세요. 선택된 텍스트 아래에 "하이라이트" 버튼이 나타납니다. - 버튼을 클릭하면 해당 텍스트가 하이라이트됩니다.

- -

3.2 메모 추가

-

하이라이트를 생성할 때 메모를 함께 추가할 수 있습니다. 또는 기존 하이라이트를 클릭하여 - 메모를 추가하거나 편집할 수 있습니다.

- -

3.3 책갈피 사용

-

상단 도구 모음의 "책갈피" 버튼을 클릭하여 책갈피 패널을 열고, - "현재 위치에 책갈피 추가" 버튼을 클릭하여 책갈피를 생성하세요.

- -

4. 고급 기능

-
-

이 부분은 인용문입니다. 중요한 내용을 강조할 때 사용됩니다. - 이런 텍스트도 하이라이트하고 메모를 추가할 수 있습니다.

-
- -

4.1 검색 기능

-

상단의 검색창을 사용하여 문서 내용을 검색할 수 있습니다. - 검색 결과는 노란색으로 하이라이트됩니다.

- -

4.2 태그 시스템

-

메모에 태그를 추가하여 분류할 수 있습니다. 태그는 쉼표로 구분하여 입력하세요. - 예: "중요, 질문, 아이디어"

- -

5. 결론

-

Document Server는 HTML 문서를 효율적으로 관리하고 주석을 달 수 있는 강력한 도구입니다. - 하이라이트, 메모, 책갈피 기능을 활용하여 문서를 더욱 효과적으로 활용해보세요.

- -
- -

6. 추가 테스트 내용

-

이 섹션은 추가적인 테스트를 위한 내용입니다. 다양한 길이의 텍스트를 선택하여 - 하이라이트 기능이 올바르게 작동하는지 확인해보세요.

- -

기울임체 텍스트굵은 텍스트, 그리고 - 코드 텍스트도 모두 하이라이트할 수 있습니다.

- -
    -
  1. 첫 번째 항목 - 이것도 하이라이트 가능
  2. -
  3. 두 번째 항목 - 메모를 추가해보세요
  4. -
  5. 세 번째 항목 - 책갈피를 만들어보세요
  6. -
- -

마지막으로, 이 문서의 다양한 부분에 하이라이트와 메모를 추가한 후 - 메모 패널에서 어떻게 표시되는지 확인해보세요. 검색 기능도 테스트해보시기 바랍니다.

- - diff --git a/uploads/pdfs/319c6faa-7881-4c16-a18b-ea46f521067e.pdf b/uploads/pdfs/319c6faa-7881-4c16-a18b-ea46f521067e.pdf deleted file mode 100644 index b6574d9..0000000 Binary files a/uploads/pdfs/319c6faa-7881-4c16-a18b-ea46f521067e.pdf and /dev/null differ diff --git a/uploads/pdfs/32acc37c-13f1-4e14-a601-7faefb57d8d5.pdf b/uploads/pdfs/32acc37c-13f1-4e14-a601-7faefb57d8d5.pdf deleted file mode 100644 index c10973b..0000000 Binary files a/uploads/pdfs/32acc37c-13f1-4e14-a601-7faefb57d8d5.pdf and /dev/null differ diff --git a/uploads/pdfs/45d099f8-3f72-4354-adc5-a154b7c7014b.pdf b/uploads/pdfs/45d099f8-3f72-4354-adc5-a154b7c7014b.pdf deleted file mode 100644 index a7d4e33..0000000 Binary files a/uploads/pdfs/45d099f8-3f72-4354-adc5-a154b7c7014b.pdf and /dev/null differ diff --git a/uploads/pdfs/48680d64-c892-4a37-8e25-7b914a2840ea.pdf b/uploads/pdfs/48680d64-c892-4a37-8e25-7b914a2840ea.pdf deleted file mode 100644 index b6574d9..0000000 Binary files a/uploads/pdfs/48680d64-c892-4a37-8e25-7b914a2840ea.pdf and /dev/null differ diff --git a/uploads/pdfs/5918ae97-3d08-4b36-a8c8-14c75e4923de.pdf b/uploads/pdfs/5918ae97-3d08-4b36-a8c8-14c75e4923de.pdf deleted file mode 100644 index 45c5d8f..0000000 Binary files a/uploads/pdfs/5918ae97-3d08-4b36-a8c8-14c75e4923de.pdf and /dev/null differ diff --git a/uploads/pdfs/624c4f51-6f69-4987-bd31-3ef4a82c5a6a.pdf b/uploads/pdfs/624c4f51-6f69-4987-bd31-3ef4a82c5a6a.pdf deleted file mode 100644 index a148df0..0000000 Binary files a/uploads/pdfs/624c4f51-6f69-4987-bd31-3ef4a82c5a6a.pdf and /dev/null differ diff --git a/uploads/pdfs/6b4260b0-c920-4929-87ba-4505b05052d9.pdf b/uploads/pdfs/6b4260b0-c920-4929-87ba-4505b05052d9.pdf deleted file mode 100644 index b7e63cc..0000000 Binary files a/uploads/pdfs/6b4260b0-c920-4929-87ba-4505b05052d9.pdf and /dev/null differ diff --git a/uploads/pdfs/a6d47780-6dab-4819-8235-aa5d1c9715b9.pdf b/uploads/pdfs/a6d47780-6dab-4819-8235-aa5d1c9715b9.pdf deleted file mode 100644 index 4cb3564..0000000 Binary files a/uploads/pdfs/a6d47780-6dab-4819-8235-aa5d1c9715b9.pdf and /dev/null differ diff --git a/uploads/pdfs/d7b34eab-071f-48ac-ba16-951798115726.pdf b/uploads/pdfs/d7b34eab-071f-48ac-ba16-951798115726.pdf deleted file mode 100644 index a7d4e33..0000000 Binary files a/uploads/pdfs/d7b34eab-071f-48ac-ba16-951798115726.pdf and /dev/null differ diff --git a/uploads/pdfs/e7bf9dd9-0740-45ab-893b-0cf58b671384.pdf b/uploads/pdfs/e7bf9dd9-0740-45ab-893b-0cf58b671384.pdf deleted file mode 100644 index 9ba969c..0000000 Binary files a/uploads/pdfs/e7bf9dd9-0740-45ab-893b-0cf58b671384.pdf and /dev/null differ