Lab - Install Local Ghost CMS

Context Ghost can be installed using Docker, or locally using ghost-cli. Here we focus on the latter, allowing us to modify source code and do some experiments later.

Preparation

Installation

Install ghost-cli first

npm install ghost-cli@latest -g
# or
yarn global add ghost-cli@latest

Create an empty folder

mkdir myghost
cd myghost

Install Ghost locally

$ ghost install local

Running in development mode
...

Ghost was installed successfully! To complete setup of your publication, visit: 

    http://localhost:2368/ghost/

Type ghost ls command to see instance running

$ ghost ls

Running in development mode

...
│ ghost-local ... │ running ... │ http://localhost:2368/ │ 2368 │ local │