From 728a31060f6fcafdb4598453b148ea77a8b8da6a Mon Sep 17 00:00:00 2001 From: kirukib Date: Thu, 6 Aug 2026 18:06:31 +0300 Subject: [PATCH] docs: add production Vercel URL and allow .env.example Co-authored-by: Cursor --- .gitignore | 5 +++++ README.md | 5 +++-- docs/admin-backend-spec.md | 1 + 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index a547bf3..ecfaa4a 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,8 @@ dist-ssr *.njsproj *.sln *.sw? +.vercel +.env +.env.local +.env.*.local +!.env.example diff --git a/README.md b/README.md index 3511128..365ab43 100644 --- a/README.md +++ b/README.md @@ -35,10 +35,11 @@ Living backend contract: [`docs/admin-backend-spec.md`](docs/admin-backend-spec. ## Deploy +- Live: **[https://gishen-admin.vercel.app](https://gishen-admin.vercel.app)** (Vercel project `yaltopiatech/gishen-admin`) - `vercel.json` SPA rewrites for React Router - Build: `npm run build` → `dist` -- Remote: `https://gitea.yaltopia.com/Gishen/Gishen-Admin.git` -- Host on **Vercel** as a new project (CLI if Gitea import unavailable) +- Git remote: `https://gitea.yaltopia.com/Gishen/Gishen-Admin.git` +- Redeploy: `npx vercel --prod --yes --scope yaltopiatech` (Gitea is not auto-linked; use CLI or mirror to GitHub for Git integration) Env: diff --git a/docs/admin-backend-spec.md b/docs/admin-backend-spec.md index 66f1766..118d22a 100644 --- a/docs/admin-backend-spec.md +++ b/docs/admin-backend-spec.md @@ -19,6 +19,7 @@ | 2026-08-06 | Dispatch board + Telegram bot events | | 2026-08-06 | Super Admin team/inbox/audit/settings + FAQ bilingual | | 2026-08-06 | Data migration import jobs | +| 2026-08-06 | Deployed Admin SPA: https://gishen-admin.vercel.app | ## Conventions