=====================================================================
___ __ _ __
___ _____/ (_)___ / /_(_) /__
/ _ \/ ___/ / / __ \/ __/ / //_/
/ __/ /__/ / / /_/ / /_/ / ,<
\___/\___/_/_/ .___/\__/_/_/|_|
/_/
=====================================================================
Building a website with Github and Jekyll
2015-08-20 | #github #jekyll #docker
Intro
After a long time of www.ecliptik.com[1] being offline I finally brought it back online with Github Pages[2]. 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[3] to make viewing the site locally before pushing to Github. The container image ecliptik/jekyll[4] 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
Generating...
done.
Auto-regeneration: enabled for '/app'
Configuration file: /app/_config.yml
Server address: http://0.0.0.0:4000/
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.
Tags
____________________________________________________________________