From f9790b60805ab9c402a3d2e56cce97b7ba855cb0 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 20 Mar 2025 16:44:50 +0000 Subject: [PATCH] Add daily email for 2025-03-13 Static websites are easy to host and deploy --- source/_daily_emails/2025-03-13.md | 33 ++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 source/_daily_emails/2025-03-13.md diff --git a/source/_daily_emails/2025-03-13.md b/source/_daily_emails/2025-03-13.md new file mode 100644 index 000000000..f3a1ac436 --- /dev/null +++ b/source/_daily_emails/2025-03-13.md @@ -0,0 +1,33 @@ +--- +title: Static websites are easy to host and deploy +date: 2025-03-13 +permalink: daily/2025/03/13/deploy +tags: + - software-development + - static-websites + - static-site-generators + - sculpin +cta: ~ +snippet: | + Static websites are easy to host and deploy changes. +--- + +Another reason I like static websites is that they're easy and quick to deploy. + +Whether you use write each HTML file by hand or [use a static site generator][0], a simple Web server like Caddy, Nginx or Apache can load and serve your website for everyone to see. + +My Sculpin website generates an output_prod directory after I run `sculpin generate` with my deployable files. + +I manage my own server with NixOS that hosts a number of static websites, such as examples from talks and blog posts. + +To upload my files onto the server, I just use rsync - a small command line tool to synchronise files between computers. + +It's a single command to upload the contents of my output_prod directory to the directory on my server. + +No complex CI pipelines or database migrations. + +It's fast, simple and minimal. + +If you prefer to use a service like Netlify or Vercel, they work great for static websites too. + +[0]: {{site.url}}/daily/2025/03/12/easy