This is the website repo for http://pigsty.cc
- https://github.com/pgsty/pigsty.cc (Chinese)
- https://github.com/pgsty/pigsty.io (English)
Powered by Hugo and OINK 1.4.0
Install Git, Go, and Hugo Extended (v0.168.0 or newer):
brew install git go hugoRun the local preview or production build:
hugo serve
hugo build --minifyRun make check before publishing to validate Markdown, Hugo rendering, and internal links.
# Refresh the landing-page extension index and six metric cards from the local catalog.
python3 bin/gen-pgext.py --src ~/pgsty/pgext/db
# Append a dated GitHub API snapshot; both navigation and homepage read this dataset.
python3 bin/update-star-history.pyWhen packaged counts change, also update params.pgext_count and descriptions in
hugo.yaml and content/_index.md. Refresh the comparison tables and bar chart in
content/docs/about/compare/impact.md from the same dated GitHub API snapshot.