Your tool to be a Geek.

Tag: Blog

Starting a new blog is quite simple- just register yourself at one of the many blogging platforms and start publishing your blog at blog-name.platform-name.com.

But that isn’t how everyone wants their blog URL to be. (Don’t you feel that geekspecs.wordpress.com is too long?)

GitHub Pages allows users to host web pages on their account, and this is what we’re going to exploit – to have our blog URL as your-name.github.io/blog

Prerequisites: Ghost

Ghost, for the unfamiliar, is just another blogging platform. Ghost is a platform dedicated to one thing: Publishing. One can read more about Ghost here and proceed to download the latest version of Ghost.

The entire documentation is available here. I shall, however, for the newbies, describe the setup. We shall first host the blog on our system and then push it to our GitHub account.

As Ghost is based on Node.js, we first need to install Node. Download your edition of node from here. Next: Extract and install node onto your system. Make sure you are installing v0.10.*

Now that we’re done installing Ghost, we need to configure it. One needs to configure the Mail and URL settings of the blog. Visit this, and generate a config.js file. Replace this with the config.js present in /var/www/ghost . Use your favorite text editor to edit the new config.js and set the URL field in the development dictionary as

After every new article one writes, one must regenerate the static pages and push them time to time.

Though one can easily note the downsides of having such kind of blog, one cannot neglect the new level of comfort and ease that has been bestowed upon them by the Ghost! Also, no need to worry about blog security as there is no online database to manage.