# Local ## Prerequisites : - Hugo: `brew install hugo` ## Development : - Run `hugo server -D` ## Build : - Run `hugo` ## Deploy : - Build website using `hugo` - Copy the generated `public` directory to any hosting environment. - srht.site: `tar -C public -cvz . > site.tar.gz && hut pages publish -d a14m.srht.site site.tar.gz` - cloudflare: `npx wrangler pages deploy public` # Docker ## Prerequisites: - Docker: `brew install docker` ## Build - Run `docker build . -t website` - Run `docker run -p 1313:1313 -it website` or - Run `docker-compose build` - Run `docker-compose up`