Home

How to Make an Octopress: Setup

The last time I tried to blog was ages ago in the early aughties when Xanga ruled. Nowadays, Wordpress is definitely the most popular weapon of choice for blogging but I decided to go with Octopress to help expand my developer skills.

Octopress Logo

Octopress is basically a “blogging framework for hackers”. I like that it’s open source and that Ruby runs everything in the framework. All you need is your favorite text editor and some command line chops to start posting. Octopress sites are fast, secure, and mobile-friendly. The limitless amount of customization is also a huge bonus that I hope will keep me challenged and engaged in my coding.

If you’re interested in making your own Octopress, the official documentation has a great guide to follow for setting up. It’s a step by step walkthrough that shouldn’t be a problem for anyone comfortable with Terminal. For the sake of those that aren’t satisfied with the Octopress docs, I’ll share a simpler step by step guide that covers the initial setup.

Preparations

Before we begin installing Octopress, we must make sure that Git, RVM, and Ruby 1.9.3 are up and running.

Open up Terminal and enter:

$ git --version

then

$ rvm --version

and

$ ruby --version

The —version command will tell you which version of the application is currently installed. If no version is revealed, it must mean that your application is not installed.

If you need an easy guide for installing these tools, I recommend Moncef Belyamani’s tutorial: How to Install Xcode, Homebrew, Git, RVM, & Ruby 1.9.3 on Snow Leopard & Lion.

Installing Octopress

Go to the directory where you would like to use Octopress and clone the original repo by inputing the following:

$ git clone git://github.com/imathis/octopress.git octopress 

Setting up Octopress

Once installed, enter the Octopress folder just cloned.

$ cd octopress

If RVM is installed, you’ll be asked if you trust the .rvmrc file, type yes.

Installing Dependencies

Inside the Octopress folder, the following commands must be entered for the Bundler gem.

$ gem install bundler
$ bundle install

Installing the Default Octopress Theme

Finally, to add some styling, enter:

$ rake install

Conclusion

At this point, we have everything we need to make a blog post, but we still need to deploy our octopress to a host and also make changes the blog configurations to make the site more personalized. I’ll be sure to cover those steps in a future post. I hope this post helps out anyone with an interest in making a new Octopress.

Comments