summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2024-03-04 06:52:28 +0200
committerAhmed Abdelhalim <[email protected]>2024-03-04 06:52:28 +0200
commitd3a4721a7cf55edc9ec8ca9bcacee0ed566038a9 (patch)
treedafd7647b44f4f28755959f5391c5ba098d406e4
parent4bd39cd0cdaac506a5854b144749547ab72c0799 (diff)
Fix readme
-rw-r--r--README.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/README.md b/README.md
index 4962260..f249ce4 100644
--- a/README.md
+++ b/README.md
@@ -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: