Skip to content

vaeum/ghost-dropbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

Via Git

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
    

Configuration

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.

Create OAuth credentials

  • Login to dropbox
  • Create new app from the right menu new app
  • After cteated app, generate access token

Save it and don't lose!

License

Read LICENSE

Feel free to create an issue, in case of troubles!

Releases

No releases published

Packages

No packages published