GitHub pages & Jekyll bootstrapped on Windows 10

These are the steps I did in order to setup Jekyll/Ruby on Windows 10 and to create the first iteration of this blog.

First I followed most of the steps on jekyll-windows.

  • Downloaded Ruby and installed it with “Add to path” option.
  • Downloaded Ruby DevKit and unpacked.
  • Setup Ruby DevKit
cd <RubyDevKit>
ruby dk.rb init
ruby dk.rb install
  • Installed Jekyll and rouge for code formatting
gem install jekyll
gem install rouge
  • Created a new github repository for GitHub pages (i.e. <username>.github.io)
  • Checked out the thing locally
cd <your-place-for-repos>
git clone https://github.com/^
UserName/username.github.io

Then I basically followed the steps in Get Started with GitHub pages.

  • Created a basic jekyll site (folder must be empty, otherwise you’ll get a Conflict-error)
jekyll new username.github.io
  • Ran Jekyll and viewed the result on my localhost.
jekyll serve --watch --host localhost --port 8000
  • Pushed the stuff back to GitHub after I set up the repository with credentials etc.
echo "# Readme" > README.md
git add .
git commit -m "Init."
git push -u origin master
  • Viewed the result on GitHub
  • Obsessed over the CSS for some hours…