83a59f1677ff921c587814c4811e6c8041b9d9fa
Self-contained zip (dist/avtoambor-deploy.zip) for end users on Windows 7: double-click install.bat to install Node 16, then start.bat to launch the server. start.bat self-relaunches minimized so the console window stays out of the way. Node is pinned to 16.x and several deps downgraded for Win7 compatibility; the unsupported View Transitions hook is dropped from the root layout. make bundle wraps scripts/make-bundle.sh. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
AvtoAmbor
Simple auto-parts inventory for a single shop. SvelteKit + SQLite. UI is bilingual (English / Тоҷикӣ).
Prerequisites
- Docker + Docker Compose
Everything else (Node, npm, native build tools for better-sqlite3) runs
inside the container.
Quickstart
make install # install dependencies inside the container
make db-init # create data/avtoambor.db with schema + seed
make run # dev server at http://localhost:3000
make help lists every target.
Production
Build with make build, copy the build/ directory plus node_modules and
data/avtoambor.db to the Windows host, then run:
node build/index.js
The server listens on port 3000 by default. Open http://localhost:3000 in
the browser on that machine.
Data
The SQLite database lives at data/avtoambor.db. The data/ directory is
gitignored and bind-mounted into the container, so the DB file persists on
the host.
make db-init— create the DB if it doesn't exist (does nothing otherwise).make db-reset— delete and recreate the DB (asks for confirmation).
Description
Languages
Svelte
41.9%
JavaScript
35.7%
HTML
12.3%
Shell
5.4%
Batchfile
2.3%
Other
2.4%