diff options
| -rw-r--r-- | README.md | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -3,14 +3,16 @@ - Hugo: `brew install hugo` ## Development : -- Run `hugo serve` +- Run `hugo server -D` ## Build : - Run `hugo` ## Deploy : -- Run `hugo` -- Copy the generated `public` directory to any hosting environment. (`srht.site`) +- 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: |
