setting up ghpages on windows

Now that i have been using windows regularly thought of moving over the setup to my windows desktop. I was initially skeptical about how octopress and ruby will pan out. Here are my setup steps:

  1. install git
  2. install github for windows (makes ssh key management easier)
  3. install ruby & ruby devkit
  4. gem install bundler
  5. copied over my blog directory from linux box (for new users it would be installing octopress)
  6. bundle install in blog directory
  7. rake new_post["post title"]
  8. rake generate
  9. rake deploy - this will populate _deploy directory

Extra:

Ideally rake deploy should work out just fine otherwise you could always push generate site thru github for desktop. To get rake deploy working start git shell installed with github for desktop. This should launch a powershell window.

test out connection to github from gitshell as detailed here

D:\blog\nullptr [source +0 ~2 -0]> ssh -T [email protected]
Warning: Permanently added 'github.com,192.30.252.129' (RSA) to the list of known hosts.
Hi sarangbaheti! You've successfully authenticated, but GitHub does not provide shell access.

In case you get errors from previous step, try the same command again first step added your keys, which can be found in %HOMEDRIVE%%HOMEPATH%.ssh\id_rsa.pub