This repository contains the source code for my personal blog, built with Hugo and deployed on AWS.
This project uses a Makefile
to simplify common tasks.
- Hugo: The static site generator.
- macOS: The
install-dev-mac
command uses Homebrew. For other operating systems, please install Hugo manually.
Install Hugo and the testing dependencies by running:
make install-dev-mac
To start the local development server:
make deploy-local
You can now view the blog at http://localhost:1313
. The site will automatically reload when you make changes to the content.
To create a new blog post, use the standard Hugo command:
hugo new content posts/YYYY-MM-DD-your-post-title.md
This will create a new Markdown file in the content/posts/
directory with the basic front matter.
This blog is automatically built and deployed using GitHub Actions.
- Hugo builds the static HTML, CSS, and JS files.
- GitHub Actions runs on every push to the
main
branch to build the site and deploy it. - Amazon S3 hosts the static website content.
- Amazon CloudFront serves as the CDN to distribute the content globally over HTTPS.
- Create an RSS feed for the blog.
- Update my GitHub profile README to list recent blog posts.