Prepare shop-ready deployment docs and fix transaction modal UI
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user