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": "**-*******"}}
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
本页内容是否解决了您的问题?