This entry is how to get Ghost running on the Raspberry Pi.
Environment and pre-requisites:
- Raspberry Pi 4 Model B with keyboard/mouse/LCD panel attached
- MacOS for main computer
Step 1 - Install Ghost CLI
The Ghost CLI (Command Line Interface) will help you install Ghost.
- Open up your SSH terminal session and type:
sudo npm install -g ghost-cli@latest
Step 2 - Install Ghost from the CLI
Now that the CLI is installed, you can install Ghost locally.
- Open up your SSH terminal session
- Make a new directory for your Ghost installation and go into it
mkdir ghost cd ghost
- Install ghost
ghost install local
- Type "ghost ls" to see your ghost configuration
Step 3 - Try Ghost Out
Ghost is now running on your rPi, but you can't see it from your computer - it is running on the rPi's localhost. Switch over to your rPi keyboard/mouse/LCD setup and pull up a browser and type "http://localhost:2368" to setup and view your Ghost website.
To interact with it remotely, you can either reconfigure the URL to be the rPi's IP address (it will then be available on your local network), or you can run the Diode Client on the rPi to view and manage the website anywhere in the world (make sure to configure your URL or your images won't work correctly!)
ghost config --url http://192.168.50.21 or ghost config --url http://<your domain>.diode.lin