Skip to content

henriksommerfeld/blog-hugo

Repository files navigation

Henrik Sommerfeld's Blog

Actions Status Netlify Status

This is my personal blog based on Hugo available at https://www.henriksommerfeld.se

Local dev

package.json contains a bunch of scripts that act as documentation.

Using Docker and Docker Compose

  1. To run the site: docker-compose up
  2. To run the tests: docker build

Using NPM

Pre-requisites:

  1. Install Node https://nodejs.org/en/download/ (working version specified in .nvmrc)
  2. Install Hugo https://github.com/gohugoio/hugo/releases See expected version in netlify.toml). Extended version required.

Running the site

  1. npm run install:prod
  2. npm start