Prepare shop-ready deployment docs and fix transaction modal UI

This commit is contained in:
Krikorios
2026-05-20 19:47:55 +03:00
parent 1896cbdd11
commit 1f23102050
16 changed files with 584 additions and 60 deletions
+24
View File
@@ -81,6 +81,30 @@ Default seed admin (override via env in [docker-compose.yml](docker-compose.yml)
- email: `admin@local.test`
- password: `ChangeMe123!`
## Shop deployment quickstart
For a machine in the shop, use the full guide at [docs/SHOP_SETUP.md](docs/SHOP_SETUP.md).
Fast path:
```bash
git clone https://github.com/Krikorios/OMT-SM.git
cd OMT-SM
cp .env.example .env
cp server/.env.example server/.env
npm install
npm --prefix server install
./scripts/start_prod.sh
```
Important:
- Set strong secrets in `.env` and `server/.env` before first production use.
- Match `POSTGRES_PASSWORD` in `.env` with the password inside `server/.env` `DATABASE_URL`.
## Tech stack
React 18, TypeScript, Vite, shadcn/ui, Tailwind, TanStack Query, react-hook-form,