Skip to content

diegocarba99/blog

Repository files navigation

Diego's Personal Blog

This repository contains the source code for my personal blog, built with Hugo and deployed on AWS.

Deployment

🚀 Getting Started

This project uses a Makefile to simplify common tasks.

Prerequisites

  • Hugo: The static site generator.
  • macOS: The install-dev-mac command uses Homebrew. For other operating systems, please install Hugo manually.

1. Install Dependencies

Install Hugo and the testing dependencies by running:

make install-dev-mac

2. Run Locally

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.

✍️ Creating a New Post

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.

☁️ Deployment Architecture

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.

Blog Architecture Diagram

📝 To-Do

  • Create an RSS feed for the blog.
  • Update my GitHub profile README to list recent blog posts.

About

Hugo blog hosted in AWS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •