Ghost/content/adapters
Kevin Ansfield 0f82e49159 📖 1.0.0 update for README.md and CONTRIBUTING.md (#8539)
refs #7421
- simplify README.md to be more use-case oriented and point to https://docs.ghost.org where appropriate
- remove majority of CONTRIBUTING.md content as it now lives at https://docs.ghost.org/contributing
- update adapter guide links in `content/adapters/README.md`
2017-06-08 17:05:27 +01:00
..
README.md 📖 1.0.0 update for README.md and CONTRIBUTING.md (#8539) 2017-06-08 17:05:27 +01:00

Content / Adapters

An adapter is a way to override a default behaviour in Ghost. The default behaviour in Ghost is as following:

LocalFileStorage

By default Ghost will upload your images to the content/images folder. The LocalFileStorage is using the file system to read or write images. This default adapter can be found in core/server/adapters/storage/LocalFileStorage.js.

SchedulingDefault

By default Ghost will schedule your posts using a pure JavaScript solution. It doesn't use cron or similar. This default adapter can be found in core/server/adapters/scheduling/SchedulingDefault.js.

Custom Adapter

To override any of the default adapters, you have to add a folder (content/adapters/storage or content/adapters/scheduling) and copy your adapter to it.

Please follow our detailed guides: https://docs.ghost.org/v1.0.0/docs/using-a-custom-storage-module https://docs.ghost.org/v1.0.0/docs/using-a-custom-scheduling-module