add readme
All checks were successful
Build Hugo Site / build (push) Successful in 7s

This commit is contained in:
John 2025-03-09 22:37:43 -05:00
parent b01e42461a
commit a00589ccf2

7
README.md Normal file
View File

@ -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.