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.
- Host: GitHub
- URL: https://github.com/metowolf/ghost-smms-store
- Owner: metowolf
- License: mit
- Created: 2018-11-14T15:08:02.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-15T03:27:54.000Z (over 6 years ago)
- Last Synced: 2025-04-26T22:05:57.900Z (about 1 month ago)
- Topics: ghost, ghost-storage-adapter, image, smms
- Language: JavaScript
- Homepage: https://sm.ms/
- Size: 2.93 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
## 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:alpineWORKDIR $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)