hugo-blog/README.md
John a00589ccf2
All checks were successful
Build Hugo Site / build (push) Successful in 7s
add readme
2025-03-09 22:37:43 -05:00

7 lines
623 B
Markdown

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.