From 413254442a44f882c2f86125a8ed4b782cf81da0 Mon Sep 17 00:00:00 2001 From: Jack Jackson Date: Tue, 26 Apr 2022 23:19:30 -0700 Subject: [PATCH] Add README with installation instructions --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 4e0d75f..eb48c8f 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,14 @@ +# Installation + +* Install hugo (if you have set up your pi with [pi-tools](https://github.com/scubbo/pi-tools), + this will already be done): + * `latestHugoVersion=$(curl -s https://api.github.com/repos/gohugoio/hugo/releases | jq -r '.[] | .tag_name' | perl -pe 's/^v//' | sort -V | tail -n 1)` + * `wget -q -O /tmp/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${latestHugoVersion}/hugo_${latestHugoVersion}_Linux-ARM.deb` + * `sudo apt install /tmp/hugo.deb` +* `git submodule init && git submodule update --recursive` + +# Use + Content is stored in `blog/`. All `hugo` commands below should be executed from there. This top-level directory is just for package metadata, `README.md`, etc.