From fae555585f8b6acc3b842939a42aac6b35cb3cf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?m=C3=BCde?= Date: Tue, 19 May 2026 18:29:12 +0200 Subject: [PATCH 1/2] readme: add debian/ubuntu and windows setup --- README.md | 36 +++++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 89493ca..3cd1f5e 100644 --- a/README.md +++ b/README.md @@ -3,10 +3,44 @@ Festival drink-sale tracker. See [PLAN.md](PLAN.md) for architecture, [NOTES.md](NOTES.md) for the original requirements, and [TODO.md](TODO.md) for deferred work. -## Dev +## Toolchain setup + +Requires Node.js 20+ and pnpm 9+. Native SQLite bindings install from prebuilt +binaries on x86_64 / arm64 — no compiler needed for most setups. + +### Nix (Linux / macOS) ```sh nix develop # node 20, pnpm, sqlite, build deps +``` + +### Debian / Ubuntu + +```sh +# Node 20 from NodeSource +curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - +sudo apt install -y nodejs +sudo corepack enable # provides pnpm + +# Only needed if a prebuilt better-sqlite3 binary is unavailable for your arch +sudo apt install -y build-essential python3 +``` + +### Windows + +Install Node.js 20 LTS via the official MSI from (this +also installs the optional "Tools for Native Modules"). Then in PowerShell: + +```powershell +corepack enable # provides pnpm +``` + +Use PowerShell to set env vars on the same line, e.g. +`$env:ADMIN_PASSWORD="changeme"; pnpm dev:server`. + +## Dev + +```sh pnpm install ADMIN_PASSWORD=changeme pnpm dev:server # http://localhost:3000 pnpm dev:client # http://localhost:5173 (proxies /api, /admin) From 1a2f184be3c1a531d84f8596279e0b962dda9669 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?m=C3=BCde?= Date: Tue, 19 May 2026 18:29:31 +0200 Subject: [PATCH 2/2] readme: warn that all code is AI-generated --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 3cd1f5e..988d7fb 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,13 @@ # wutzcalc +> ## ⚠️ AI-generated code +> +> **Every file in this repository was written by an AI coding assistant.** It +> has not been independently audited or reviewed line-by-line by a human. Before +> running this in any setting where correctness matters (real money, real +> events), read the code yourself, test the edge cases that matter to you, and +> assume there are bugs. Use at your own risk. + Festival drink-sale tracker. See [PLAN.md](PLAN.md) for architecture, [NOTES.md](NOTES.md) for the original requirements, and [TODO.md](TODO.md) for deferred work.