@@ -12,14 +12,13 @@ A fully featured and deeply tested [Cloudinary](https://cloudinary.com/) [Ghost]
1212
1313### Features
1414
15- - Compatible with all Ghost versions :rocket :
15+ - Up to date with latest Ghost versions :rocket :
1616- Latest Cloudinary NodeJS [ SDK] ( https://github.com/cloudinary/cloudinary_npm )
1717- Image upload, existence check & deletion (when Ghost will support it)
1818- Ability to upload in dated sub-directories (alike first Ghost default Local storage adapter ` YYYY/MM ` )
1919- Ability to upload images into a specific directory
2020- Ability to tag images
2121- Cool [ plugins] ( plugins ) !
22- - Should be compatible with [ mmornati/ghost-cloudinary-store] ( https://github.com/mmornati/ghost-cloudinary-store ) configuration
2322
2423## Installation
2524
@@ -29,7 +28,7 @@ A fully featured and deeply tested [Cloudinary](https://cloudinary.com/) [Ghost]
2928- Download the adapter:
3029
3130``` bash
32- $ yarn add ghost-storage-cloudinary@2
31+ $ yarn add ghost-storage-cloudinary
3332$ mv node_modules/ghost-storage-cloudinary content/adapters/storage/ghost-storage-cloudinary
3433```
3534
@@ -40,11 +39,11 @@ $ mv node_modules/ghost-storage-cloudinary content/adapters/storage/ghost-storag
4039Here's an example of using this adapter with a containerized Ghost:
4140
4241``` Dockerfile
43- FROM ghost:3 -alpine as cloudinary
42+ FROM ghost:4 -alpine as cloudinary
4443WORKDIR $GHOST_INSTALL/current
45- RUN su-exec node yarn add ghost-storage-cloudinary@2
44+ RUN su-exec node yarn add ghost-storage-cloudinary
4645
47- FROM ghost:3 -alpine
46+ FROM ghost:4 -alpine
4847COPY --chown=node:node --from=cloudinary $GHOST_INSTALL/current/node_modules $GHOST_INSTALL/current/node_modules
4948COPY --chown=node:node --from=cloudinary $GHOST_INSTALL/current/node_modules/ghost-storage-cloudinary $GHOST_INSTALL/current/content/adapters/storage/ghost-storage-cloudinary
5049RUN set -ex; \
@@ -58,8 +57,6 @@ RUN set -ex; \
5857
5958Here, we use the Ghost CLI to set some pre-defined values.
6059
61- :information_source : For Ghost version ` 1.x ` , use ` ghost-storage-cloudinary@1 ` package version.
62-
6360## Configuration
6461
6562Check out [ configuration.json.dist] ( configuration.json.dist ) for a complete example.
@@ -90,15 +87,15 @@ Run `yarn install` without the `--production` flag.
9087
9188Runs the tests and generate coverage:
9289
93- $ npm t
90+ $ yarn coverage
9491
9592Runs the linter:
9693
97- $ npm run eslint
94+ $ yarneslint
9895
9996To enable debug logs, set the following environment variable:
10097
101- DEBUG=ghost-storage-cloudinary:*
98+ DEBUG=ghost-storage-cloudinary:*
10299
103100---
104101
0 commit comments