Micheal Waltz

Cloud Argonaut

Building a website with Github and Jekyll

Aug 20, 2015

#docker  #jekyll  #github  ]

After a long time of www.ecliptik.com being offline I finally brought it back online with Github Pages. I really like the concept of having a static site using Markdown files and a template to quickly bring online a modern looking blog without the hassle of configuring a content management system, web server, or database.

While building the site, I created a Dockerfile to make viewing the site locally before pushing to Github. The container image ecliptik/jekyll built from this Dockerfile is also on Docker Hub.

jezebel in ~/git/ecliptik.github.io (master●●)
% docker run -it --rm -p 4000:4000 -v $(pwd):/app ecliptik/jekyll:latest
Configuration file: /app/_config.yml
            Source: /app
       Destination: /app/_site
 Auto-regeneration: enabled for '/app'
Configuration file: /app/_config.yml
    Server address:
  Server running... press ctrl-c to stop.
      Regenerating: 1 file(s) changed at 2015-08-22 05:19:34 ...done in 0.108220049 seconds.
      Regenerating: 1 file(s) changed at 2015-08-22 05:19:34 ...done in 0.116449572 seconds.