This post will guide you how to setup the Octopress blog and host it with Github. Why did I choosed Octopress for my blogging, I guess it was simple and better integration with github, and I didn’t wanted to spend any extra bucks for this. I’m currently setting this up in Elementary OS backed by ubuntu 12.04.
Check whether your ruby version is 1.9.3 or more then this
Clone the Octopress to your working directory.
Run this command and the Octopress is good to go.
1 2 3 4
Just to check whether every thing is working or not.
Check in your local browser, whether you can view page or not.
If you can see the Octopress sample page. that means you are good to go. Next we can setup it with Github.
It will ask your repository link, in my case it is
1 2 3
Next we need to commit the source branch into GitHub.
1 2 3
If anything failed, check this commands.
1 2 3 4 5
If the above command is not returning your git repository, then probably you will have to add this.
Check what is the branch, it should be
If it is not
source branch, then change it to
source branch by this command.
1 2 3