Dave's Blog

My Collection of Hobbies, Code and Other Ramblings

New Blog Engine!

I have deliberated for a while now on what to do with my blog. I have not been particularly active in my blogging, but I have definitely been thinking about a number of things I need to blog about. However, I found that my blogging engine (Typo) was very limiting for me. It turns out, that most blogging engines are limiting to me. I am not very comfortable using a web UI for my workflow! I am a coder that uses SVN, git etc…day in and day out for my daily work. So I asked my friend, Glenn Vanderburg, if he had any ideas – and he suggested Octopress.

So far, it seems that Octopress really fits the bill. I generally like using a text editor and version control for everything – including documentation. I am somewhat of a fan of wikis, but I prefer having raw access to my source trees. So Octopress really allows you to hack away at your blog, and then push and deploy just like you would any other software.

Migration was easy since I didn’t really have that much content to begin with. I simply cut and pasted my blog content into new articles generated through rake. I’ll recap the steps I took:

  1. First, I forked Octopress from github
  2. Next, I edited _config.yml to reflect my site configuration…this is pretty self explanatory.
  3. Then, I generated new posts via rake new_post["..."]
  4. I edited those posts to reflect the original publication date from my former blog
  5. Finally, I tested everything using rake preview
  6. Once everything was to my liking, I edited my remote server nginx configuration to point at a directory I created to hold my content.
  7. Restarted nginx on my remote server
  8. ran rake deploy
  9. BAM! It was done.

I absolutely love this new approach to my blog so far. It is static content!!! No database…at least not for now. I hope that this can stay as static as possible. I really just want a place to call my home page where I can rant and write about my hobbies and code etc… without thinking about another web application that I have to manage. Not to mention – I don’t like working through a web based workflow to being with, so this really lends itself to a hacker style blog! I’ll just have to get up to speed with all of the various formatting options…