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

Jekyll: ChicagoRuby Hack Night

Ray Hightower
November 11, 2015

Jekyll: ChicagoRuby Hack Night

Jekyll is a static HTML page generator written in Ruby. It's an ideal tool for those cases where a CMS is too heavy, but writing a bunch of HTML is too tedious. These slides were used during the Jekyll intro at the ChicagoRuby Hack Night on Wed, Nov 11, 2015.

Ray Hightower

November 11, 2015
Tweet

More Decks by Ray Hightower

Other Decks in Technology

Transcript

  1. CMS On each page request:
 1. Pull page content from

    database.
 2. Generate new HTML page. Static No database. Generate all HTML pages before we deploy.
  2. $ git init $ git add . $ git commit

    -m ‘ready to push this site to github’ $ git checkout -b gh-pages $ git remote add origin [email protected]:username/mysite.git 
 $ git push -u origin gh-pages Browser (10-30 min): http://username.github.io/mysite Hosting at GitHub
  3. $ git checkout gh-pages $ touch CNAME $ echo “mycooldomainname.com”

    > CNAME Configure your DNS provider so that the CNAME record points to http://github.io/mysite Browser (10-30 min): http://username.github.io/mysite Custom Domain Name?