(Using Terminal)
xcode-select --install
http://rubyinstaller.org/
Install Homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install ruby
Install Ruby DevKit
http://rubyinstaller.org/downloads/
Set
C:\RubyDevKit\
as the destination for the DevKit files
(Using PowerShell)
cd C:\RubyDevKit
ruby dk.rb init
ruby dk.rb install
Create a folder that will be your home for tonights work (or digital work in general.)
Users/jeriwieringa/Documents/WebProjects
username.github.io
All other repositories
(Using Terminal)
xcode-select --install
http://rubyinstaller.org/
Install Homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install ruby
Install Ruby DevKit
http://rubyinstaller.org/downloads/
Set
C:\RubyDevKit\
as the destination for the DevKit files
(Using PowerShell)
cd C:\RubyDevKit
ruby dk.rb init
ruby dk.rb install
gem install bundler
gem install jekyll
jekyll new .
In your username.github.io directory:
Format: YAML
Where you control the settings of your site.
These variables can be called into other areas of your site.
Format: Markdown and YAML
Filename: [date]-title.markdown
Head Information (YAML):
---
layout: post
title: "Welcome to Jekyll!"
date: 2016-03-15 23:28:38 -0400
categories: jekyll update
---
Format: HTML and Liquid
Output markup:
{{ resolves to content }}
Takes filters
Tag markup:
{% action or logic %}
Format: SASS with SCSS syntax
_css/main.scss is the file that pulls everything together. This is the final stylesheet that gets linked in `head.html`
_sass/ allows you to split your design into multiple files
jekyll serve
to turn off the server:
ctrl-c
Customize your Jekyll project
bundle init
Add
gem "github-pages"
to Gemfile.
Also add
gem "wdm"
to your Gemfile.
bundle install
bundle exec jekyll build --safe
bundle exec jekyll serve
Now that you've installed gems using bundler, you have to type
bundle exec
before all jekyll commands.
Git tracks all changes taking place in a directory.
"Commit" the changes to capture snapshots of a project.
All commits require a message. These messages are public and should be useful for understanding why the snapshot was made.
Click "Publish" to push all of your files up to Github. Leave the directory name as it appears.
(do as I say, not as I did.)
Go to:
http://username.github.io