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
- Visit https://ghost.org/docs/install/local/
- Install Node.js and optionally
yarn
Installation
Install ghost-cli first
npm install ghost-cli@latest -g
# or
yarn global add ghost-cli@latestCreate an empty folder
mkdir myghost
cd myghostInstall 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 │