npm install ghost-cli@latest -g
ghost install local


"storage": {"active": "ghost-cos-store","ghost-cos-store": {"BasePath": "ghost/", // 디렉터리 이름으로 변경할 수 있습니다. 비워두면 기본적으로 루트 디렉터리가 사용됩니다."SecretId": "AKID*************","SecretKey": "***************","Bucket": "xxx-125********","Region": "**-*******"}}
설정 항목 | 설정 항목 |
BasePath | 파일이 저장되는 COS 경로입니다. 필요에 따라 수정할 수 있습니다. 비워두면 기본적으로 루트 디렉터리가 사용됩니다. |
SecretId | API Key 관리페이지에서 생성 및 획득할 수 있는 액세스 키 정보입니다. |
SecretKey | API Key 관리페이지에서 생성 및 획득할 수 있는 액세스 키 정보입니다. |
Bucket | examplebucket-1250000000과 같이 버킷 생성 중에 사용자 정의된 이름입니다. |
Region | 버킷 생성 중에 선택한 리전입니다. |
mkdir -p content/adapters/storage
npm install ghost-cos-store
// content/adapters/storage/ghost-cos-store.jsmodule.exports = require('ghost-cos-store');
cd content/adapters/storagegit clone https://github.com/tencentyun/ghost-cos-store.gitcd ghost-cos-storenpm i
ghost restart

Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback