Hemanth.HM

A Computer Polyglot, CLI + WEB ♥'r.

Octopress Atlast!

| Comments

Atlast had to make a move to octopress. I have been a big fan of it and have been following it from inception, but due to the limitations of my old blog had to hold on and today decided to ditch the old blog!

Did not even bother migrating from drupal to octopress, just started a fresh octopress blog here and let the old blog stay as it is.

One of the other major reason that held be from migrating to octopress was the server I'm hosting this site has no proper support for hosting octopress, but then I notice this an easy way of deploying the site with rsync.

Setting up a octopress blog with rsync was easy :

  • Clone the source and bundle install.

  • Add your server configurations to the Rakefile

1
2
3
4
5
6
7
8
## -- Rsync Deploy config -- ##
# Be sure your public key is listed in your server's ~/.ssh/authorized_keys file
ssh_user       = "[email protected]"
ssh_port       = "22"
document_root  = "~/html/new"
rsync_delete   = true
rsync_args     = "--rsync-path=/usr/local/bin/rsync"  # Don't forget this!
deploy_default = "rsync"
  • Then just do a rake generate && rake deploy that's it!

So, my journey with octopress beings!

Comments