Added deployment files
This commit is contained in:
@@ -2,6 +2,9 @@
|
||||
|
||||
A local Merchant Onboarding CRM for a fictional crypto-payment provider. The workspace provides database-backed login, role-scoped reads and writes, commercial onboarding, Compliance reviews, and a responsive English/Russian UI.
|
||||
|
||||
For VPS production containers, see the [deployment guide](docs/deployment.md).
|
||||
It covers Docker builds, environment setup, migrations, initial demo seeding, and updates.
|
||||
|
||||
## Start locally
|
||||
|
||||
Prerequisites: Node **22.19+ on the 22.x line**, pnpm **10.32.1**, and Docker Desktop with its engine running. `.nvmrc` pins the verified Node version.
|
||||
@@ -136,7 +139,7 @@ curl --fail http://localhost:5173/api/health
|
||||
|
||||
Both should return `{"status":"ok","database":"connected"}`. If startup fails, check Docker, port availability and `.env`; do not point the tests at development data.
|
||||
|
||||
The [product brief](docs/product-brief.md) and [implementation checklist](docs/implementation-checklist.md) record the accepted scope and verification results. Merchant editing, ownership handoff, stage/review actions and task management are implemented. Uploads, merchant self-service, payments, external KYB/reminders and deployment remain out of scope.
|
||||
The [product brief](docs/product-brief.md) and [implementation checklist](docs/implementation-checklist.md) record the accepted scope and verification results. Merchant editing, ownership handoff, stage/review actions and task management are implemented. Uploads, merchant self-service, payments and external KYB/reminders remain out of scope. Production container setup is documented in the [deployment guide](docs/deployment.md).
|
||||
|
||||
## Editing and workflow rules
|
||||
|
||||
@@ -159,7 +162,7 @@ All mutation bodies carry the merchant's current integer `version`. Transactions
|
||||
| POST / PATCH | `/api/merchants/:id/activities[/:activityId]` | Commercial interactions or Compliance KYB notes |
|
||||
| POST / PATCH | `/api/merchants/:id/tasks[/:taskId]` | Authorized task creation/editing/completion |
|
||||
|
||||
No staff registration, merchant deletion UI, file uploads, payments, external notifications, or deployment is included. Authentication credentials never enter localStorage; only the UI language does.
|
||||
No staff registration, merchant deletion UI, file uploads, payments, or external notifications are included. Authentication credentials never enter localStorage; only the UI language does.
|
||||
|
||||
## Seed upgrade behavior
|
||||
|
||||
|
||||
Reference in New Issue
Block a user