2024-03-30 16:43:22 +00:00
2024-03-30 16:43:22 +00:00
2025-10-05 22:04:31 +01:00
2026-01-08 21:10:08 +00:00
2026-01-09 09:27:36 +00:00
2025-12-18 11:28:18 +00:00
2026-01-08 21:12:16 +00:00
2023-12-28 10:06:18 +00:00

personal-website

Joe Carstairs' personal website

Structure:

/
├── website: My public-facing website
└── infrastructure: The infrastructure of my website as code

Running with Podman

These instructions will probably work with Docker, too: just substitute podman for docker in all the commands.

To run with Podman, first set up your environment variables. Copy example.env to .env and edit the values accordingly.

Then, create the remote_smtp_password secret, storing the password for the remote SMTP server which will send the contact emails on behalf of the website.

sudo podman secret create remote_smtp_password /path/to/remote/smtp/password

Now build and start the containers:

sudo podman-compose build && sudo podman-compose up -d

Running on the host machine

To run on the host machine, first, as before, set up your environment variables by copying example.env to .env and editing the values as appropriate.

npm run start

Note that emails may not work locally without further setup. These instructions are of course woefully incomplete.

Description
My personal website
Readme GPL-3.0 2.2 MiB
Languages
TypeScript 32.2%
MDX 23.6%
Astro 22.1%
CSS 19.4%
JavaScript 1.4%
Other 1.3%