0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00

📖 Adapters: Pointing to the correct location (#8507)

no issue
This commit is contained in:
Myles Braithwaite 2017-05-31 15:40:59 -04:00 committed by Katharina Irrgang
parent b60fba2866
commit e2dcdd2866

View file

@ -7,12 +7,12 @@ The default behaviour in Ghost is as following:
### LocalFileStorage ### LocalFileStorage
By default Ghost will upload your images to the `content/images` folder. By default Ghost will upload your images to the `content/images` folder.
The LocalFileStorage is using the file system to read or write images. The LocalFileStorage is using the file system to read or write images.
This default adapter can be found in `core/server/storage/LocalFileStorage.js`. This default adapter can be found in `core/server/adapters/storage/LocalFileStorage.js`.
### SchedulingDefault ### SchedulingDefault
By default Ghost will schedule your posts using a pure JavaScript solution. By default Ghost will schedule your posts using a pure JavaScript solution.
It doesn't use `cron` or similar. It doesn't use `cron` or similar.
This default adapter can be found in `core/server/scheduling/SchedulingDefault.js`. This default adapter can be found in `core/server/adapters/scheduling/SchedulingDefault.js`.
### Custom Adapter ### 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. 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.