npm.io
1.0.1 • Published 7 years ago

ghost-smms-store

Licence
MIT
Version
1.0.1
Deps
3
Size
5 kB
Vulns
0
Weekly
0
Stars
4

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:

$ npm install ghost-smms-store
$ mkdir content/storage
$ cp -r node_modules/ghost-smms-store content/storage/ghost-smms-store
Install from Git
$ mkdir -p content/adapters/storage
$ git clone https://github.com/metowolf/ghost-smms-store.git
$ cd ghost-smms-store
$ npm install
Install in Docker
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.

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

Author

ghost-smms-store metowolf, Released under the MIT License.

Blog @meto · GitHub @metowolf · Twitter @metowolf · Telegram Channel @metooooo

Keywords