← back to Dw Install Docs

README.md

54 lines

# DW Install / Spec Docs

DW-letterhead installation & spec sheets that Samantha (info@) can attach to
customer replies for upholstery-vinyl / vegan-leather goods used as wallcovering.

## Contents

| Source (`sources/`) | Output (`dist/`) | Purpose |
|---|---|---|
| `vegan-leather-wall-hangguide.html` | `Vegan-Leather-Wall-HangGuide.pdf` | Hanging instructions — wall prep, paste-the-wall method, seams, adhesives, do-nots, pre-start checklist |
| `pigskin-vinyl-spec.html` | `Pigskin-Vinyl-Spec-Sheet.pdf` | American™ Sports Vinyl spec & care — Football UVL-1050 / Basketball UVL-1060 |

## Regenerate the PDFs

```
./build.sh
```

Renders every `sources/*.html` → `dist/*.pdf` on DW letterhead via headless
Google Chrome (`--print-to-pdf`). Edit the HTML, re-run, commit.

## Email a doc to a customer / to steve@dw

Sent through George's `/api/send-with-attachment` (info@ account). Once the
`gmail_send_attachment` MCP tool is loaded (george-mcp commit d9bbb80, live
after a session restart) Claude can attach + send these directly. Until then,
use a small POST script with the George admin password.

## Canned replies (info@)

Reusable customer-reply templates live in `canned/responses.json` — each has an
`id`, `subject`, HTML `body`, and `attachments` (paths relative to repo root).

Send one (with its attachments) via George:

```
node canned/send.mjs <response-id> <to-email> [account]
# e.g. node canned/send.mjs vinyl-wall-install customer@example.com
```

`account` defaults to `info` (info@designerwallcoverings.com) — the customer-facing
sender. Auth + endpoint are read from the george MCP env in `~/.claude.json`, so
there is no separate secret to manage. Add a new template = append an object to
`responses.json` (attachments should point at files in `dist/`).

Current templates:
- `vinyl-wall-install` — vinyl / vegan-leather wall installation + spec sheets.

## Notes
- Letterhead = shared header/footer block in each HTML (DW name + contact).
  Keep both sheets on the same template so they read as a set.
- Add a new sheet: drop `sources/<name>.html` using the same `<style>` block,
  add its friendly output name to the `OUT` map in `build.sh`, run `./build.sh`.