Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,39 +11,39 @@ imgur storage for ghost blog.
npm install ghost-imgur
```

- Make the storage folder if it doesn't exist
- Make the `adapters` folder if it doesn't exist

```
mkdir content/storage
mkdir -p content/adapters/storage
```

- Copy the module into the right location

```
cp -vR node_modules/ghost-imgur content/storage/ghost-imgur
cp -vR node_modules/ghost-imgur content/adapters/storage/ghost-imgur
```

### Method 2 via repo

- Create `storage` folder
- Create `adapters` folder

```
mkdir -p $path_to_ghost/content/storage
mkdir -p $path_to_ghost/content/adapters/storage

```

- Clone this repo

```
cd $path_to_ghost/content/storage
cd $path_to_ghost/content/adapters/storage
git clone https://github.com/wrenth04/ghost-imgur.git

```

- Install dependencies

```
cd $path_to_ghost/content/storage/ghost-imgur
cd $path_to_ghost/content/adapters/storage/ghost-imgur
npm install

```
Expand All @@ -53,8 +53,8 @@ imgur storage for ghost blog.
- Open `$path_to_ghost/config.js` add `storage` block

```js
storage: {
active: 'ghost-imgur'
"storage": {
"active": "ghost-imgur"
}
```

Expand Down