# Resume & CV

Source files and build scripts for Chris McCormick's resume and curriculum vitae.

## Updates workflow

1. Edit the relevant source file (`experience.clj`, `summary.md`, etc.).
2. Run `make` to compile HTML fragments, `resume.html`, and `resume.pdf`.
3. Check the output in `resume.html` and `resume.pdf`.
4. Deploy to the live server with `./sync`.
5. Commit changes including `resume.pdf` to git and push.

## Build and deployment

### Build

Compile all content fragments, generate `resume.html`, update `index.html` symlink, and produce `resume.pdf`:

```bash
make
```

Remove generated intermediate files:

```bash
make clean
```

Refresh GitHub language stats if needed:

```bash
make stats.json
make languages.html
```

### Deployment

Deploy `resume.html` and `resume.pdf` to the production server:

```bash
./sync
```

## Content sources

- `experience.clj` - Work history and contract entries (Clojure Hiccup syntax)
- `education.clj` - Degrees, diplomas, and certifications (Clojure Hiccup syntax)
- `conferences.clj` - Conference talks and public speaking (Clojure Hiccup syntax)
- `summary.md` - Executive summary and bio (Markdown)
- `resume.php` - Outer layout skeleton, contact details, keywords, and component assembly
- `style.css` - Screen and print styling (`@media print` rules dictate PDF output)
- `sync` - rsync deployment script

## Prerequisites

- Node.js and `pnpm` (install dependencies with `pnpm install`)
- PHP CLI (`php`)
- `wkhtmltopdf`
- `rsync` and SSH access to `mccormickit.com` (for deployment)
