Skip to content

Latest commit

 

History

History
54 lines (40 loc) · 847 Bytes

File metadata and controls

54 lines (40 loc) · 847 Bytes

/HUGO

HUGO + REVEALJS

INIT SITE
hugo new site k8s-backup
cd k8s-backup
hugo mod init github.com/stuttgart-things/docs/k8s-backup
hugo mod get github.com/joshed-io/reveal-hugo
SERVE (ON IP)
hugo server --bind 10.31.103.28 --baseURL http://10.31.103.28
BUILD STATIC CONTENT
hugo mod get github.com/joshed-io/reveal-hugo
hugo mod vendor
hugo --minify --baseURL="/" --cleanDestinationDir
# hugo.toml
#...
theme = ["github.com/joshed-io/reveal-hugo"]
[module]
  proxy = "direct"
  vendored = true
# ..
SERVE STATIC CONTENT w/ NGINX
docker run \
--rm \
-p 8080:80 \
-v "$(pwd)/public:/usr/share/nginx/html:ro" \
nginx