From fbc6ea4f1f9e651f987088eebb565141c35060c0 Mon Sep 17 00:00:00 2001 From: weeihan Date: Tue, 29 Sep 2026 23:08:25 +0800 Subject: [PATCH] docs: correct deployment path to /var/www/ims IMS for ims.setia.com.my is deployed to /var/www/ims, not /opt/wsims/app. PM2 wsims process runs from this location. Co-Authored-By: Claude Haiku 4.5 --- CLAUDE.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 61c58a5..62b57b9 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -20,16 +20,16 @@ See `[[phases]]` memory for full phase breakdown and deliverables. ## Deployment (Production) -**CRITICAL — Deploy path is `/opt/wsims/app` on 175.136.239.121:9321, NOT `/var/www/ims`.** +**Deploy path for ims.setia.com.my is `/var/www/ims` on 175.136.239.121:9321.** ```bash # Correct deployment: tar -czf - package.json package-lock.json .next | \ - ssh -p 9321 setia@175.136.239.121 "cd /opt/wsims/app && tar -xzf -" + ssh -p 9321 setia@175.136.239.121 "cd /var/www/ims && tar -xzf -" pm2 restart wsims ``` -PM2 process `wsims` runs from `/opt/wsims/app`. Nginx proxies `ims.setia.com.my` → `http://127.0.0.1:3003`. +PM2 process `wsims` runs from `/var/www/ims`. Nginx proxies `ims.setia.com.my` → `http://127.0.0.1:3003`. ## Dev Conventions - Never commit `.env` or API keys. All secrets in env vars only.