diff --git a/CLAUDE.md b/CLAUDE.md index e00629b..89515fe 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -5,15 +5,21 @@ Main CFML/JS repository: API + Portal + KDS + HUD + Receipt. Git repo on Forgejo ## Build & Deploy ```bash -# Deploy: SCP to /tmp on dev, then sudo cp to biz.payfrit.com/ path -ssh dev.payfrit.com +# All edits in local clone +cd C:\dev\payfrit-biz -# Canonical source of truth on dev: -# /opt/lucee/tomcat/webapps/ROOT/biz.payfrit.com/ -# No local Lucee — all development happens on the dev server +# Commit and push +git add +git commit -m "message" +git push origin main + +# Auto-deploy runs within ~1 minute to dev.payfrit.com ``` -**Dev symlinks** on dev server: `/api`, `/portal`, `/config`, `/cron` are all symlinks to `biz.payfrit.com/`. **Always edit under `biz.payfrit.com/` — never the root symlinks directly.** +**Git remote**: git.payfrit.com (Forgejo) +**Dev server**: dev.payfrit.com + +**HARD RULE**: Always edit in `C:\dev\payfrit-biz`, never directly on the server or in `C:\lucee\...` ## Project Structure