oliverdavies.uk/content/node.3a13004e-2245-425f-8080-0b98e161bcb0.yml

80 lines
3 KiB
YAML

uuid:
- value: 3a13004e-2245-425f-8080-0b98e161bcb0
langcode:
- value: en
type:
- target_id: daily_email
target_type: node_type
target_uuid: 8bde1f2f-eef9-4f2d-ae9c-96921f8193d7
revision_timestamp:
- value: '2025-05-11T09:00:00+00:00'
revision_uid:
- target_type: user
target_uuid: b8966985-d4b2-42a7-a319-2e94ccfbb849
revision_log: { }
status:
- value: true
uid:
- target_type: user
target_uuid: b8966985-d4b2-42a7-a319-2e94ccfbb849
title:
- value: 'Static websites are easy to host and deploy'
created:
- value: '2025-03-13T00:00:00+00:00'
changed:
- value: '2025-05-11T09:00:00+00:00'
promote:
- value: false
sticky:
- value: false
default_langcode:
- value: true
revision_translation_affected:
- value: true
path:
- alias: /daily/2025/03/13/deploy
langcode: en
body:
- value: |
<p>Another reason I like static websites is that they're easy and quick to deploy.</p>
<p>Whether you use write each HTML file by hand or <a href="/daily/2025/03/12/easy">use a static site generator</a>, a simple Web server like Caddy, Nginx or Apache can load and serve your website for everyone to see.</p>
<p>My Sculpin website generates an output_prod directory after I run <code>sculpin generate</code> with my deployable files.</p>
<p>I manage my own server with NixOS that hosts a number of static websites, such as examples from talks and blog posts.</p>
<p>To upload my files onto the server, I just use rsync - a small command line tool to synchronise files between computers.</p>
<p>It's a single command to upload the contents of my output_prod directory to the directory on my server.</p>
<p>No complex CI pipelines or database migrations.</p>
<p>It's fast, simple and minimal.</p>
<p>If you prefer to use a service like Netlify or Vercel, they work great for static websites too.</p>
format: full_html
processed: |
<p>Another reason I like static websites is that they're easy and quick to deploy.</p>
<p>Whether you use write each HTML file by hand or <a href="/daily/2025/03/12/easy">use a static site generator</a>, a simple Web server like Caddy, Nginx or Apache can load and serve your website for everyone to see.</p>
<p>My Sculpin website generates an output_prod directory after I run <code>sculpin generate</code> with my deployable files.</p>
<p>I manage my own server with NixOS that hosts a number of static websites, such as examples from talks and blog posts.</p>
<p>To upload my files onto the server, I just use rsync - a small command line tool to synchronise files between computers.</p>
<p>It's a single command to upload the contents of my output_prod directory to the directory on my server.</p>
<p>No complex CI pipelines or database migrations.</p>
<p>It's fast, simple and minimal.</p>
<p>If you prefer to use a service like Netlify or Vercel, they work great for static websites too.</p>
summary: null
field_daily_email_cta: { }