In this presentation I show how to use GitHub and Jekyll (static website generator) to create sites. Mainly based on case studies even though there is some theory at the beginning.
4. GH Pages - Awesome Hosting
● http://pages.github.com/
● Mainly sites for geeks and projects
● Provides a designer
● Supports Jekyll
● Possible to use good ol' HTML too
● http://oli.jp/2011/github-pages-workflow/
5. Jekyll - Static Site Generator
● https://github.com/mojombo/jekyll
● Blog-aware, based on Ruby
● Templating (http://liquidmarkup.org/)
● Quite powerful though has limitations
10. koodilehto.fi - Overview
● Traditional website with some social
features
● Theme based on Bootstrap
● JavaScript (jQuery, RequireJS + custom)
● https://github.com/bebraw/codegrove-site
11. koodilehto.fi - Lessons Learned
● It's actually feasible to use GH Pages as a
hosting platform for something like this
● Dealing with nested navigation is hard
(required JS hack)
● jsbin.com rocks for quick prototyping
(study jsbin.com/utalev/<number> to see
how it progressed)
12. koodilehto.fi - To Improve
● Move to one page layout (more dynamic
content?)
● Could use cron to get rid of some JS ->
faster page load, nicer for mobile
● Figure out better ways to share JS
(RequireJS constrains this)
14. jswiki.org - Overview
● Largest JS related index at GitHub
● Decided to write a nicer UI for it
● Ended up developing ghw (converts GH
wiki to GH pages)
● Used Skeleton for theming
● jQuery+various plugins in use
15. jswiki.org - Lessons Learned
● Skeleton is cool and a lot lighter than
Bootstrap
● Node works well for writing this type of
tools
● Projects tend to escalate (ended up writing
suite.js, generators.js, funkit etc. too)
16. jswiki.org - To Improve
● More, better content (crawling?)
● Search UI (just a filtering big-ass table)
● You name it
18. geekcollision.org - Overview
● Decided to reskin the newly reskinned site
just for kicks
● Gave Jekyll's blogging capabilities a go
while at it
● Used Skeleton here as well
● jQuery+RequireJS+custom hacks for JS
19. geekcollision.org - Lessons Learned
● I'm getting better at this stuff
● Skeleton seems like a good fit for small
projects such as this
● A decent background makes a world of a
difference
20. geekcollision.org - To Improve
● Might want to style dates better
(consistent style)
● You name it
22. Conclusions
● GH Pages + Jekyll works well for simple
sites
● Easy to relocate if needed
● Fast and easy to develop
● Less overhead vs. Django and co.