# CJKWord 서버 업로드 목록

## 1. 먼저 백업

서버에서 다음 파일과 폴더를 먼저 백업합니다.

```text
/var/www/html/index.html
/var/www/html/api
/var/www/html/docs
```

## 2. 홈페이지

```text
로컬: server_upload/index.html
서버: /var/www/html/index.html
```

## 3. 홈페이지 이미지

```text
로컬: server_upload/favicon.png
서버: /var/www/html/favicon.png

로컬: server_upload/icons/Icon-192.png
서버: /var/www/html/icons/Icon-192.png

로컬: server_upload/icons/Icon-512.png
서버: /var/www/html/icons/Icon-512.png

로컬: server_upload/brand
서버: /var/www/html/brand
```

## 4. 개발자 문서 페이지

```text
로컬: server_upload/docs/index.html
서버: /var/www/html/docs/index.html
웹 주소: http://cjkword.com/docs/
```

기존 `/var/www/html/docs` 안의 다른 문서는 삭제하지 않고 `index.html`만 추가하거나 교체합니다.

## 5. CAW API와 브라우저 SDK

```text
로컬: server_upload/api
서버: /var/www/html/api
```

`server_upload/api` 안쪽 내용이 서버 `/var/www/html/api` 안쪽 내용이 되도록 올립니다.

주요 파일:

```text
/var/www/html/api/_lib/caw.php
/var/www/html/api/caw_data/combined_characters_sorted.json
/var/www/html/api/caw_data/radical_map_184.json
/var/www/html/api/example/simple_editor.html
/var/www/html/api/sdk/js/caw-api-sdk.js
/var/www/html/api/v1/health.php
/var/www/html/api/v1/data-health.php
/var/www/html/api/v1/caw/plain-convert.php
/var/www/html/api/v1/caw/type-letter-hold.php
```

## 6. 업로드 후 확인

```text
http://cjkword.com/
http://cjkword.com/docs/
http://cjkword.com/api/v1/health.php
http://cjkword.com/api/v1/data-health.php
http://cjkword.com/api/v1/caw/plain-convert.php?code=ma
http://cjkword.com/api/example/simple_editor.html
```

정상 기준:

```text
health: ok = true
data-health: sample ma = 馬
plain-convert ma = 馬
```
