From be7918fdbc4b9a48df06ce5e049a5195188f0de8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=B5=90=E5=9F=8E=E6=B4=9B=E5=9D=8A-Yuki=5FLuofan?= <162030054+Yuki-Luofan@users.noreply.github.com> Date: Mon, 4 Mar 2024 14:59:15 +0800 Subject: [PATCH] Update README.md --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/README.md b/README.md index 080d7be..a1654e3 100644 --- a/README.md +++ b/README.md @@ -4,3 +4,27 @@ CatisLand NetWork is a non-profit organization registered in the capital city of It is deployed by Hugo and GitHub Pages on about.otokonoko.top +## Local Development + +Pre-requisites: [Hugo](https://gohugo.io/getting-started/installing/), [Go](https://golang.org/doc/install) and [Git](https://git-scm.com) + +```shell +# Clone the repo +git clone https://github.com/imfing/hextra-starter-template.git + +# Change directory +cd hextra-starter-template + +# Start the server +hugo mod tidy +hugo server --logLevel debug --disableFastRender -p 1313 +``` + +### Update theme + +```shell +hugo mod get -u +hugo mod tidy +``` + +See [Update modules](https://gohugo.io/hugo-modules/use-modules/#update-modules) for more details.