The Flexible Platform Empowering Website Creators

Ghost! Enjoy a powerful headless CMS.

 

Ghost is a free and open source blogging platform written in JavaScript and distributed under the MIT License, designed to simplify the process of online publishing for individual bloggers as well as online publications.

Requirements

The easiest way to get started is to use Ghost. If you prefer to self-host, we strongly recommend an Ubuntu server with at least 1GB of memory to run Ghost.

Features

Ghost have following key features

  • An extensible rich editor
  • Flexible content management
  • Search engine optimisation
  • Accelerated Mobile Pages
  • Detailed structured data
  • Subscriptions by RSS, Email and Slack
  • Fully managed platform as a service
  • Free, open, simple
  • Powerful tooling
  • A complete, self-consuming JSON API for all your data
  • Fully managed service
  • Security taken seriously
  • Easy custom domains
  • Automatic backups
  • Total developer control
  • An open marketplace
  • Native apps

Installation Guide

Install Node.js

Ghost Blog is powered by Node.js. Hence, we have to download and install Node.js LTS version from the official website.

Install Ghost command line tool

Open the terminal and execute the following commands. It will install ghost command line tool using npm package manager.

 $ sudo npm install -g ghost-cli 

Install Ghost command line tool

Navigate to ~/Documents directory and create an empty folder ghost to install Ghost.


$ cd ~/Documents
$ mkdir ghost

Then, navigate into the ghost folder and print current working directory to make sure you are at /Users/[username]/Documents/ghost.


$ cd ghost 
$ pwd
/Users/[username]/Documents/ghost

Next, install local version of ghost.


$ ghost install local

Setup an admin account

Now copy paste the 2nd URL in the terminal into your browser to setup the admin account for Ghost. In my case, the URL is


http://localhost:2368/ghost/

You will see the welcome page to setup the Ghost admin account.

After going through the setup process of admin account, you will be able to see the admin dashboard.

Try it out!

Congratulations, now you have successfully setup the ghost blog locally! Feel free to experiment it out as you like. Try publishing some dummy blog post

And proceed to http://localhost:2368/ to view your blog posts. In case you haven’t notice, it is the same URL as admin page without the /ghost/.

Boom! The test blog post has been successfully added.

Start/Stop the ghost blog

To stop the Ghost blog server, simply head back to the terminal and execute

 $ ghost stop 

Make sure you are at ~/Documents/ghost/ directory when executing the command above.

Now the Ghost Blog is not available at the URL anymore. To start Ghost again next time, simply go to ~/Documents/ghost/ directory to start the local server.


$ cd ~/Documents/ghost/
$ ghost start 

That's it! Congrats Ghost is install now