CSS Ruby HTML F# Dockerfile Shell Batchfile
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.paket Paket bootstrapper magic mode Jan 29, 2018
.vscode Try to add problem matching Jan 29, 2018
_drafts Release stidgen post ? Aug 18, 2018
_includes Mark the current page Feb 1, 2018
_layouts Add an optional TOC to posts Feb 4, 2018
_plugins Add a sitemap Jan 29, 2018
_posts Release stidgen post ? Aug 18, 2018
_sass Small style tweaks Feb 4, 2018
archive Make archive work on web host (I hope) Jan 29, 2018
assets Animated gifs for react articles ! Feb 6, 2018
css Fix fira code css path Feb 3, 2018
.dockerignore Dockerfile and build on linux Jan 30, 2018
.gitattributes Prepare for linux build Jan 30, 2018
.gitignore Prepare for linux build Jan 30, 2018
Dockerfile Better k8s Feb 5, 2018
Gemfile Add an optional TOC to posts Feb 4, 2018
Gemfile.lock Add an optional TOC to posts Feb 4, 2018
_config.yml Add an optional TOC to posts Feb 4, 2018
appveyor.yml Remove cache :( Jan 29, 2018
build.cmd Paket bootstrapper magic mode Jan 29, 2018
build.fsx Better k8s Feb 5, 2018
build.sh Prepare for linux build Jan 30, 2018
dev.cmd Make watch work on windows Oct 9, 2016
favicon.ico Add favicon Nov 2, 2014
feed.xml Jekyll empty site Nov 1, 2014
gpg.markdown Simplify design Oct 16, 2016
index.html Add an archive page Jan 29, 2018
k8s-drafts.yaml Publish react post part 1 Feb 6, 2018
k8s.cmd Publish part 2 of react article Feb 8, 2018
k8s.yaml
paket.dependencies Update paket and pin it's version Jan 29, 2018
paket.exe Paket bootstrapper magic mode Jan 29, 2018
paket.lock Add appveyor based build Oct 16, 2016
readme.md

readme.md

My blog

Build status

Uses Jekyll to generate blog.vbfox.net.

Building locally

  • Install ruby
  • bundle
  • dev.cmd

Building in Docker

Build and run (Will be accessible on http://127.0.0.1:8080)

docker build . -t vbfox/blog
docker run --name vbfox-blog -it --rm -p 127.0.0.1:8080:80 vbfox/blog
# Ctrl+C to kill the container

# To build with future & drafts
docker build . --build-arg DRAFTS=yes --build-arg FUTURE=yes -t vbfox/blog:drafts

Running in Kubernetes

# Push all images
docker push vbfox/blog

# On first run do a create & Wait for IP to appear
kubectl create -f k8s.yaml --save-config
kubectl get service vbfox-blog --watch

# Same for drafts
kubectl create -f k8s-drafts.yaml --save-config
kubectl get service vbfox-blog-drafts --watch

# Later settings changes can be simply applied
kubectl apply -f k8s.yaml
kubectl apply -f k8s-drafts.yaml