diff options
| author | Ahmed Abdelhalim <[email protected]> | 2024-03-04 06:52:28 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2024-03-04 06:52:28 +0200 |
| commit | d3a4721a7cf55edc9ec8ca9bcacee0ed566038a9 (patch) | |
| tree | dafd7647b44f4f28755959f5391c5ba098d406e4 | |
| parent | 4bd39cd0cdaac506a5854b144749547ab72c0799 (diff) | |
Fix readme
| -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: |
