From 61b0fff624fdff7d94e7c46e3bb261cfd4f61bcf Mon Sep 17 00:00:00 2001 From: Kristoffer Snabb Date: Fri, 5 Jan 2024 21:11:37 +0200 Subject: [PATCH] update README and add a Makefile --- Makefile | 11 +++++++++++ README.md | 19 ++----------------- 2 files changed, 13 insertions(+), 17 deletions(-) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..e5db240 --- /dev/null +++ b/Makefile @@ -0,0 +1,11 @@ +# Build the site +build: + hugo + +# Serve the site locally +serve: + hugo server -D + +# Clean the generated files +clean: + rm -rf public \ No newline at end of file diff --git a/README.md b/README.md index 256661b..c05d800 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,3 @@ -# My Notes, Blog posts and Rants - -Based on Hugo static site generator. In this site I collect notes, blog posts and rants related to what I am working with. - -## Pre-requisites - -Install Hugo - - brew install hugo - - That is it, no other dependencies are needed. - - ## How to run - - Run from root with the hugo CLI. - - hugo server +# My Notes, posts and experiments +Based on Hugo static site generator. In this site I collect notes, posts and experiments related to what I am working with.