Lessons from the Octopress Setup

Siddhant Shrivastava

June 11, 2014

Filed under “

This is my first post on this blog. I am learning to play with the various commands and get a knack of the basic publishing workflow.

This is how syntax highlighting is done

After creating .markdown files, all one has to do is to push changes to the master branch of the remote repo:

bundle exec rake generate
bundle exec rake deploy

Git commands to be used:

To update the source branch with the latest changes (it is recommended to keep a backup)

git add .
git commit -m "source update #"
git push origin source

whereas to revert to the master branch, go to the _deploy directory, and run:

git pull origin master
bundle exec rake deploy

To-do:

  1. Add pages: about, travel, competitive programming, open source contributions, BITS work, SciTech News, etc.
  2. Understand the different plugins that are available for the blog, and use some of them - like Google Analytics, g+ integration, etc.

Finally, after posting couple of posts on Blogger and WordPress, I feel at home@Octopress.

Cheers