My personal blog and portfolio @ jamesdixon.dev
I am currently using Hugo to generate the static (HTML/CSS/JS) portion site and Blowfish as my theme...
Many thanks to the maintainers of these projects!
hugo serve -D
# create a new post
hugo new posts/{post_name}/index.md
# create a new project page
hugo new projects/{project_name}/index.md
# create a new website showcase page
hugo new websites/{website_name}/index.md
Note: Git submodules do not get initialized or updated automatically upon cloning/pulling!
To init/update submodules after cloning:
git submodule init
git submodule update --recursive --remote --merge
Here is just a quick rundown of how and where I deploy my site.
I have a small DigitalOcean Droplet VPS running nginx (for servering) and certbot (for certs). Digital Ocean Referral Link below!
There is a deploy.sh
script which is just a wrapper around running hugo && rsync user@server:/var/www/html
. I have a git hook that runs this script on every git push
.
And that is the whole process.
I do not currently use any CI/CD solutions, app platforms or containerization as of now for a few reasons:
- small static site (can be served anywhere for cheap)
- i don't mind managing my VPS and nginx (compared to something like docker compose)
- it works
Maybe sometime in the future, I will containerize everything make a blog post about it... :)
Thank you for reading!