Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Jekyll + GitHub Pages

Eric Carraway
September 14, 2016
64

Jekyll + GitHub Pages

Lunch n' Learn Presentation for my team at Rackspace

Eric Carraway

September 14, 2016
Tweet

Transcript

  1. LUNCH N’ LEARN - 2016.09.14 TOPICS ▸ Jekyll installation and

    setup ▸ free hosting via GitHub Pages ▸ configuring CNAME and DNS for a custom domain name ▸ convention-based directory structure ▸ working with markdown and YAML front matter ▸ theming and SASS ▸ pushing changes to a live website from the command line
  2. LUNCH N’ LEARN - 2016.09.14 WHAT’S JEKYLL? ▸ Jekyll is

    a static-site-generator ▸ Jekyll uses Ruby * ▸ Jekyll converts Markdown to HTML
  3. LUNCH N’ LEARN - 2016.09.14 WHY JEKYLL? ▸ Because WordPress

    ▸ Many blog/marketing/portfolio sites… ▸ … do not require a back end or database ▸ … can be “static” ▸ Simplicity and ease-of-use
  4. LUNCH N’ LEARN - 2016.09.14 WHAT’S GITHUB PAGES? ▸ It’s

    built in to every GitHub repo ▸ via a gh-pages branch ▸ It’s built in to every GitHub account ▸ via a repo named <username>.github.io
  5. LUNCH N’ LEARN - 2016.09.14 WHY GITHUB PAGES? ▸ Because

    WordPress ▸ IT’S FREE ▸ Simplicity and ease-of-use ▸ Version-control and deployment are built-in ▸ git push origin master beats FTP
  6. HOW DO YOU CONFIGURE A CUSTOM DOMAIN NAME? CNAME at

    the root of your repo DNS settings with your registrar
  7. LUNCH N’ LEARN - 2016.09.14 SHOW AND TELL ▸ GitHub

    repo ▸ File structure ▸ History ▸ Issues as a lightweight project management tool ▸ Pull requests ▸ DEMO: git push origin master