Henrik Sommerfeld's Blog
This is my personal blog based on Hugo available at https://www.henriksommerfeld.se
Pre-requisites:
- Install Node https://nodejs.org/en/download/ (working version specified in .nvmrc)
- Install Hugo https://github.com/gohugoio/hugo/releases See expected version in netlify.toml). Extended version required.
Running the site
npm run install:prod
npm start
Build (compile) the site to folder public
npm run build
Tests (headless)
npm install
npm test
Tests (Cypress GUI)
npm install
npm run test:open
Using Docker
For using Docker, you don't need the pre-requisites listed above, but you need Docker
Running the site
docker-compose up dev
or if you have npm installed:npm run docker:dev
Build (compile) the site to folder public
docker-compose up build
or if you have npm installed:npm run docker:build
Tests
docker-compose up test
or if you have npm installed:npm run docker:test