Add CLAUDE.md with project info and deployment instructions

This commit is contained in:
Ryan Malloy 2026-02-23 18:56:42 -07:00
parent 5a582615fd
commit 3d5fce6777

39
CLAUDE.md Normal file
View File

@ -0,0 +1,39 @@
# McWaddams Site
Personal portfolio and blog site generator built with Astro.
- **Production**: https://mcwaddams.warehack.ing
- **Git**: `git@git.supported.systems:warehack.ing/mcwaddams-site.git`
- **Server**: `ssh -A warehack-ing@warehack.ing`, repo at `~/mcwaddams-site`
## Stack
- Astro (static output)
- Docker multi-stage build (Node builder -> Caddy prod)
- caddy-docker-proxy on external `caddy` network
## Environment
Copy `.env.example` to `.env`:
```env
COMPOSE_PROJECT_NAME=mcwaddams-site
DOMAIN=mcwaddams.warehack.ing
```
## Commands
```bash
make up # Build and start production container
make down # Stop container
make logs # Tail container logs
make restart # Stop + start
make status # Show running containers
make clean # Remove containers, images, volumes
```
## Deploy to Production
```bash
ssh -A warehack-ing@warehack.ing "cd ~/mcwaddams-site && git pull && make up"
```