Update CLAUDE.md
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
2023e1b5d9
commit
b64f48bfcc
1 changed files with 12 additions and 6 deletions
18
CLAUDE.md
18
CLAUDE.md
|
|
@ -5,15 +5,21 @@ Main CFML/JS repository: API + Portal + KDS + HUD + Receipt. Git repo on Forgejo
|
||||||
## Build & Deploy
|
## Build & Deploy
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Deploy: SCP to /tmp on dev, then sudo cp to biz.payfrit.com/ path
|
# All edits in local clone
|
||||||
ssh dev.payfrit.com
|
cd C:\dev\payfrit-biz
|
||||||
|
|
||||||
# Canonical source of truth on dev:
|
# Commit and push
|
||||||
# /opt/lucee/tomcat/webapps/ROOT/biz.payfrit.com/
|
git add <files>
|
||||||
# No local Lucee — all development happens on the dev server
|
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
|
## Project Structure
|
||||||
|
|
||||||
|
|
|
||||||
Reference in a new issue