First, make sure you have npm and nodejs installed. Check here https://nodejs.org/en/download/package-manager/ if you dont't.
Create a folder for blog
mkdir ~/blog
If you already have python installed through the package manager and you want to install pip through the package manager:
sudo apt-get install python-pip
Next you'll install https://github.com/axitkhurana/buster with pip. This is what generates your static site:
sudo pip install buster
Download the latest version of Ghost
curl -L https://ghost.org/zip/ghost-latest.zip -o ghost.zip
and unzip it into your blog's directory into another directory called ghost:
mkdir blog/ghost; unzip ghost.zip -d ~/blog/ghost
cd
into your new ghost folder and install install Ghost (production dependencies only) through npm:
cd ~/blog/ghost; npm install --production
You can now start the server:
npm start
And access your blog at http://localhost:2368 by default.
Next cd
into your blog:
cd ~/blog
and set the default repo for buster to deploy to:
buster setup --gh-repo="https://github.com/user/repo.io.git
You can now generate the static site with:
buster generate
And you can automatically deploy with:
buster deploy
To start setting up ghost, just follow the guide at:
http://localhost:2368/ghost
That's it!