You need a version of Hugo installed to build the site, e.g.:
go install github.com/gohugoio/hugo@latestTo prepare the test data:
cd script
./gen.shTo build the site with Hugo, do something like this from the root of the repository:
HUGO_MEMORYLIMIT=8 hugo --logLevel infoNote that HUGO_MEMORYLIMIT is in GB. If not set, it defaults to the quarter of the total system memory. Also note that Hugo has some hidden flags that may be useful in this context:
--profile-cpu=<filename>--profile-mem=<filename>--profile-mutex=<filename>