An open API service indexing awesome lists of open source software.

https://github.com/metowolf/ghost-smms-store

Ghost sm.ms storage module.
https://github.com/metowolf/ghost-smms-store

ghost ghost-storage-adapter image smms

Last synced: 15 days ago
JSON representation

Ghost sm.ms storage module.

Awesome Lists containing this project

README

        


smms-cli


Author
Version
License

## Installation

**required Ghost version: 1.x, 2.x**

### Install from NPM

You will need to have a the custom storage module directly in your project directory, the easiest way to do this is:

```bash
$ npm install ghost-smms-store
$ mkdir content/storage
$ cp -r node_modules/ghost-smms-store content/storage/ghost-smms-store
```

### Install from Git

```bash
$ mkdir -p content/adapters/storage
$ git clone https://github.com/metowolf/ghost-smms-store.git
$ cd ghost-smms-store
$ npm install
```

### Install in Docker

```yaml
FROM ghost:alpine

WORKDIR $GHOST_INSTALL/current
RUN yarn add ghost-smms-store
RUN mv node_modules/ghost-smms-store core/server/adapters/storage
WORKDIR $GHOST_INSTALL
RUN set -ex; \
su-exec node ghost config storage.active ghost-smms-store;
```

## Configuration

In config.js, add a storage block for each environment.

```json
"storage": {
"active": "ghost-smms-store"
},
```

## Author

**ghost-smms-store** © [metowolf](https://github.com/metowolf), Released under the [MIT](./LICENSE) License.

> Blog [@meto](https://i-meto.com) · GitHub [@metowolf](https://github.com/metowolf) · Twitter [@metowolf](https://twitter.com/metowolf) · Telegram Channel [@metooooo](https://t.me/metooooo)