HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

ghost — A blogging platform and headless CMS. More information: <https://docs.ghost.org/ghost-cli>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandheadlessbloggingandcmsghostcliplatform

Problem

How to use the ghost command: A blogging platform and headless CMS. More information: <https://docs.ghost.org/ghost-cli>.

Solution

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}}

Code Snippets

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}}

Context

tldr-pages: common/ghost

Revisions (0)

No revisions yet.