Skip to content

Minimal Jekyll Theme with nginx Dockerfile and a few small improvements.

Notifications You must be signed in to change notification settings

ekinhbayar/dockerized-minimal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dockerized Minimal theme

This repository contains an nginx Dockerfile and the Minimal Jekyll theme for GitHub Pages, to be served by self hosting it with Docker.

Installation

  • Pull the repository:
git clone https://github.com/ekinhbayar/dockerized-minimal.git
  • Modify _config.yml

Usage

  • Run:
docker run --rm \
        -v "$(pwd):/src" \
        -w /src \
        ruby:2.3 \
        sh -c 'bundle install \
            --path vendor/bundle \
            && exec jekyll build --watch'
  • Check if all is well in /web then build the docker image:
docker build -t blog-title .
  • Serve:
docker run -d \
        -p 80:80 \
        -v "$(pwd)/web:/usr/share/nginx/html" \
        blog-title

  • Profit!

To Do

  • Improve external links
  • Travis
  • gemspecs