In order to replace the storage module, the basic requirements are:
-
Clone this repo to
/content/adapters/storage
. Please create the directories if not there.cd [path/to/ghost]/content/adapters/storage git clone https://github.com/vaeum/ghost-dropbox.git dropbox
-
Install dependencies
cd dropbox npm install
Add the following to your environment configuration, config.development.json
if development.
"storage": {
"active": "dropbox",
"dropbox": {
"key": {
"accessToken": "YOUR_ACCESS_TOKEN",
}
}
},
You just have to replace the key object with your json array generated by google console.
If you are not sure about how to get google ccredentials, please read below.
- Login to dropbox
- Create new app from the right menu new app
- After cteated app, generate access token
Save it and don't lose!
Read LICENSE
Feel free to create an issue, in case of troubles!