Next-generation academic websites in Jekyll Speaker: UCCSC ! 2014 - - PowerPoint PPT Presentation

next generation academic websites in jekyll
SMART_READER_LITE
LIVE PREVIEW

Next-generation academic websites in Jekyll Speaker: UCCSC ! 2014 - - PowerPoint PPT Presentation

Next-generation academic websites in Jekyll Speaker: UCCSC ! 2014 Peter Werba How do we share information in the modern era? Websites! wikipedia.org ucsf.edu nytimes.com A lot has changed 1999 2014 How do we make sure that our


slide-1
SLIDE 1

Next-generation academic websites in Jekyll

UCCSC! 2014

Speaker: Peter Werba

slide-2
SLIDE 2

How do we share information in the modern era?

slide-3
SLIDE 3

Websites!

wikipedia.org ucsf.edu nytimes.com

slide-4
SLIDE 4

A lot has changed

1999 2014

slide-5
SLIDE 5

How do we make sure that

  • ur websites are:
  • available 24/7 (even with heavy traffic)!
  • easy to create, edit, and maintain!
  • scalable
slide-6
SLIDE 6

How did we work! last decade?

  • Dynamically generated pages in CMS

systems!

  • Maintain our own servers and

databases !

  • HTML often edited in the browser
slide-7
SLIDE 7

What are the problems?

  • Configuring & maintaining 


servers & databases = HARD!

  • Editing HTML source = HARD
slide-8
SLIDE 8

We can do better!

In fact, the software industry has moved on! What do they do?

slide-9
SLIDE 9
  • 2. Dynamic → Static

(with Jekyll)

  • 1. HTML → TXT
  • 3. Servers → Hosted

(with Markdown) (with GitHub)

slide-10
SLIDE 10
  • 1. What is Markdown?
slide-11
SLIDE 11

TXT files with! simple syntax that ! compile to HTML

slide-12
SLIDE 12

HTML

slide-13
SLIDE 13

MARKDOWN

slide-14
SLIDE 14

Why use Markdown?

  • Simple, fast, clean!
  • Portable to other formats!
  • Supports raw HTML 


(if you need to do something complicated)!

  • Widespread (and growing) adoption
slide-15
SLIDE 15
  • 2. What is Jekyll?
slide-16
SLIDE 16

Jekyll is a “static site” generator that converts source files! (markdown, etc.)! into a website

slide-17
SLIDE 17
  • Simple to install as a Ruby Gem, but no Ruby

coding knowledge is required for use.!

  • Converts your code and Markdown posts into

HTML!

  • An elegant and simple way to publish to the

web.

Basics about Jekyll

slide-18
SLIDE 18
  • SAFE from Denial of Service Attacks.!
  • SAFE from caving under heavy traffic (if served

from GitHub pages or a CDN like cloudfront).!

  • SAFE from MySQL injection attacks (because it

doesn't use a database).!

  • It needs NO security patches or updates.!
  • It doesn't need any special server script

software (like php,python or ruby or perl etc).

Why use Jekyll

slide-19
SLIDE 19

Who is using Jekyll ?

  • Not just for “small” websites… used by the

Obama Fundraising Campaign site in 2012.!

  • GitHub is running Jekyll.!
  • Many blogs migrating away from

WordPress

slide-20
SLIDE 20

Installing Jekyll

  • Installs as a ruby “gem” easy to update and maintain.!
  • Excellent documentation at http://jekyllrb.com/docs/home/
slide-21
SLIDE 21

Where is the Content?

jekyll comples ! everything to _site

slide-22
SLIDE 22

“default site build”

slide-23
SLIDE 23

Jekyll vs. CMS

  • No need to worry about constant "urgent" software

updates.!

  • Simple article and post management.!
  • No database, content is served up fast and it is very easy

to find info in content.!

  • SEF/Clean URL’s by default.!
  • Developer “git” driven workflow.!
  • Clean templating uses “Liquid” for responsive designs.

Other options like bootstrap are also available.

slide-24
SLIDE 24
  • 3. What is GitHub?
slide-25
SLIDE 25
  • “Facebook for source code”!
  • GitHub Pages = free hosting
  • f Jekyll-powered websites!
  • No servers to maintain, etc.
slide-26
SLIDE 26

Why use GitHub and GitHub Pages?

  • Seamless integration to GitHub Pages.!
  • No need for you to create or remember a
  • password. You can make changes via git or

the GitHub account.!

  • Free for each GitHub account and
  • rganization. Unlimited project sites.
slide-27
SLIDE 27

Why use GitHub and GitHub Pages?

  • Automatic versioning of your site keep track
  • f past content changes as well as code

changes.!

  • Easy to preview changes before committing

them to production.!

  • Easy to revert your code to a previous

version.

slide-28
SLIDE 28

+ =

slide-29
SLIDE 29

Conclusion

  • affordable (free if using GH-pages)!
  • flexible and scalable!
  • solid static HTML “just works”

Jekyll + GitHub Pages gives you websites that are…

slide-30
SLIDE 30

Enjoy your stay in San Francisco!