From 3de1ec4d55cfbaeaa35bc2a9be814ed3e5d793e0 Mon Sep 17 00:00:00 2001 From: TuringTux Date: Fri, 6 Feb 2026 14:42:00 +0100 Subject: [PATCH] Explain admin login --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cd6b6d1..5d65bec 100644 --- a/README.md +++ b/README.md @@ -32,4 +32,12 @@ You can preview the production build with `pnpm run preview`. ## Database This project uses a PostgreSQL database. As always, use a strong password. -Generate one using `openssl rand -base64 32`. \ No newline at end of file +Generate one using `openssl rand -base64 32`. + +## Admin login + +```sh +pnpm run db:admin +``` + +This creates an admin user and generates a password. Login at /login to accept or reject a contribution.