Skip to content

Latest commit

 

History

History
37 lines (30 loc) · 3.44 KB

README.md

File metadata and controls

37 lines (30 loc) · 3.44 KB

Eleventy (11ty) Links

Eleventy Badge Cloudflare Pages Badge GitHub Actions Badge

This repository contains a self-hosted Linktree-style website. It is deployed to https://11ty-links.pages.dev/. We deploy using GitHub Actions as opposed to the native Cloudflare Pages git integration so that the build settings are captured within the git repository, and so that we can use the same container images for local development.

To create your own version of this website:

Local Development

The easiest way to develop locally is using Docker Desktop (other container engines are available).

  • Windows (cmd): docker run -it --rm -v %cd%:/app -w /app -p 127.0.0.1:8080:8080 node:20.15.1 sh -c "cd /app && npm install && npx @11ty/eleventy --serve"
  • macOS & Linux (bash): docker run -it --rm -v "$PWD":/app -w /app -p 127.0.0.1:8080:8080 node:20.15.1 sh -c "cd /app && npm install && npx @11ty/eleventy --serve"

Once the development server is running, the website will be available at http://localhost:8080/.