Skip to content

reflectoring/reflectoring.github.io

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

reflectoring.io

This is the repository for the reflectoring.io blog on software engineering and Java topics.

This blog runs on Hugo, a static site generator.

Local preview with Docker

If you have Docker installed, you can run the blog locally with this command:

docker-compose up

or, if you want to have more control over the Hugo command:

docker run -it \
  -v "$(pwd):/src" \
  -p 1313:1313 \
  "peaceiris/hugo:v0.91.2" \
  server --bind 0.0.0.0 --buildDrafts

You can replace server ... with the Hugo command that you want to run.

In any case, you can then browse the site via http://localhost:1313.

Local preview by installing Hugo

If you don't have Docker, you can install Hugo on your machine (version 0.91.2+extended) and then run this command:

hugo server

You can then browse the site via http://localhost:1313.

Contributing to this Blog

See the Become an Author page on the blog.