mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
42 lines
718 B
Plaintext
42 lines
718 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# ghost
|
|
|
|
> A blogging platform and headless CMS.
|
|
> More information: <https://docs.ghost.org/ghost-cli>.
|
|
|
|
- Install Ghost in the current directory:
|
|
|
|
`ghost install`
|
|
|
|
- Start an instance of Ghost:
|
|
|
|
`ghost start`
|
|
|
|
- Restart the Ghost instance:
|
|
|
|
`ghost restart`
|
|
|
|
- Check the system for any potential hiccups while installing or updating Ghost:
|
|
|
|
`ghost doctor`
|
|
|
|
- View the logs of a Ghost instance:
|
|
|
|
`ghost log {{name}}`
|
|
|
|
- Run a Ghost instance directly (used by process managers and for debugging):
|
|
|
|
`ghost run`
|
|
|
|
- View running Ghost processes:
|
|
|
|
`ghost ls`
|
|
|
|
- View or edit Ghost configuration:
|
|
|
|
`ghost config {{key}} {{value}}`
|