summaryrefslogtreecommitdiffstats
path: root/CLAUDE.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-05-08 19:12:32 +0200
committerDanilo M. <danix@danix.xyz>2026-05-08 19:12:32 +0200
commit3928a9b8f30021e1d977142a6a293cec30a20e29 (patch)
treea4231d0a411e9b7ea3ff05621c1263ac43c391c6 /CLAUDE.md
parentcfb6c0668d8303982779b4a2687031eafccb90df (diff)
downloaddanixme-3928a9b8f30021e1d977142a6a293cec30a20e29.tar.gz
danixme-3928a9b8f30021e1d977142a6a293cec30a20e29.zip
docs: add deploy checklist with composer install note to CLAUDE.mdHEADmaster
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'CLAUDE.md')
-rw-r--r--CLAUDE.md9
1 files changed, 7 insertions, 2 deletions
diff --git a/CLAUDE.md b/CLAUDE.md
index 425894d..c350b79 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -11,10 +11,15 @@ hugo server
# Production build (output to public/)
hugo build
-# Restore PHP contact form deps (after fresh clone)
-cd static/api && composer install
+# Restore PHP contact form deps (after fresh clone or before deploy)
+cd static/api && composer install --no-dev
```
+## Deploy checklist
+
+1. `hugo build` — generates `public/`
+2. `cd static/api && composer install --no-dev` — vendor/ must be present on server; it is gitignored and must be run locally before syncing or re-run on server after deploy
+
## Architecture
Single-page bilingual portfolio site (EN/IT). Hugo ≥ 0.120.0 required.