How to setup this Blog
Blog
Browse Hugo themes and pick one you like, I combined elements from:
After downloading the theme and filling out hugo.toml you can:
- create new post with
hugo new posts/new-blog-post.md - debug your blog on localhost with
hugo server -D --buildDrafts --disableFastRender
And when you are happy:
- run
hugo - add, commit, push to main
Hetzner VPS
- CX22 = cheapest VPS
- Firewall allow: 22, 80
- Turn on backups
- Get IPv4 address
Domain
- buy your domain
- add AAAA record pointing to your Hetzner VPS IPv4
Dokploy setup
Install Dokploy on your server.
- New Project
- New Service
- Setup GitHub provider for your blog repo
- Branch: main
- Build Path: public
- Trigger Type: On Push
- Build Type: static
- Domains -> point to your domain e.g.
rbartyzal.com
With this setup, the blog will be updated with every push to the main branch of your repo.