From a00589ccf2b03556b527173a28c42295ec79d98b Mon Sep 17 00:00:00 2001 From: John Date: Sun, 9 Mar 2025 22:37:43 -0500 Subject: [PATCH] add readme --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..a61ed89 --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +This is built using Hugo on top of this [theme](https://github.com/clente/hugo-bearcub). +Reference the example site for how to structure content. + +To run it locally, run `hugo server` from the root of this directory. +To view the dev server run `ssh -L 1313:localhost:1313 john@192.168.1.177` from your client. This will forward requests made to "http://localhost:1313" on the client to the dev sever running on the app server. + +Gitea is configured with a post-receive hook. When a push is made to `main`, it will rebuild hugo. The built files are moved to a shared directory at `./public`. These files are served by nginx. \ No newline at end of file