News for hackers. Stuff that matters.
Re:GitHub Pages now runs Jekyll 2.2.0 by maximumoverload on Wednesday July 30, 2014 @01:25PM (#8109658)
Sorry if it's a dumb question. But how does this workflow work?

Are the html/js/css generated on my local pc, or on the github server? I don't get it.

(I have no experience with Jekyll. I have some static pages on github pages.)

Re:GitHub Pages now runs Jekyll 2.2.0 by swanson on Wednesday July 30, 2014 @01:30PM (#8109706)
When you run Jekyll, it spits out an `_site` folder - which is the generated HTML/CSS/JS of your site. Locally, when you run the Jekyll server it generates the site and then serves from that folder for you to preview.

With GitHub pages, you push a repository containing the Markdown files, but not the full generated site. On GitHub's server it generates the site and then serves it. You will want to add the `_site` folder to your `.gitignore`.

Re:GitHub Pages now runs Jekyll 2.2.0 by kehers on Wednesday July 30, 2014 @05:56PM (#8111239)
As said, they are generated on Github. There are online content editors like http://prose.io and http://tinypress.co (for Github page blogging) though.
Re:GitHub Pages now runs Jekyll 2.2.0 by joshschreuder on Wednesday July 30, 2014 @08:09PM (#8111737)
Thanks for the links, I've been looking for something a bit more editor GUI like rather than editing files.
Re:GitHub Pages now runs Jekyll 2.2.0 by archagon on Wednesday July 30, 2014 @02:46PM (#8110179)
As an aside, if your Jekyll workflow requires custom plugins (which Github doesn't support), you can always generate the site locally and push the contents of the _site folder to Github.
Re:GitHub Pages now runs Jekyll 2.2.0 by linuxydave on Wednesday July 30, 2014 @05:54PM (#8111231)
While I don't host my Jekyll blog on Github I do something similar with my Jenkins server. Webhooks + Jenkins = CI/CD for my blog :)
Re:GitHub Pages now runs Jekyll 2.2.0 by omarrr on Wednesday July 30, 2014 @01:30PM (#8109711)
Pages are generated on Github servers. As somebody mentioned you can run Jekyll locally to preview the rendered pages or simply push to github and review online.
Re:GitHub Pages now runs Jekyll 2.2.0 by ionforce on Wednesday July 30, 2014 @01:30PM (#8109709)
I was planning to write a guide on this... you know, some day...

From what I understand, Jekyll (the web site builder) automatically runs on their end. And, as the other poster mentioned, you can simulate the result of this by running a local copy of Jekyll on your local checkout.

But in the end, only the Jekyll input configuration/source data is required. The rest is optional.

Re:GitHub Pages now runs Jekyll 2.2.0 by baddox on Wednesday July 30, 2014 @01:33PM (#8109726)
It looks like you just commit plaintext files (or markdown, or any of several other formats) into your repo and they get built into HTML by jekyll and hosted as articles on your site.

http://jekyllrb.com/docs/structure/

Re:GitHub Pages now runs Jekyll 2.2.0 by stevekinney on Wednesday July 30, 2014 @01:26PM (#8109672)
I believe the files are generated on Github's servers. You can install Jekyll locally to get the same workflow locally.