From df975c7eca19156ec53e44ea6119b8e679d7a2da Mon Sep 17 00:00:00 2001 From: level09 Date: Thu, 7 May 2026 20:36:57 +0300 Subject: [PATCH 1/2] docs: add db init steps to README quick start flask install fails on a fresh clone because no User table exists. Add flask create-db --create-exts and flask db stamp head between gen-env.sh and flask install so the quick start actually works end-to-end. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 70ecbdce1..8000acd48 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,8 @@ git clone https://github.com/sjacorg/bayanat.git cd bayanat uv sync bash gen-env.sh +uv run flask create-db --create-exts +uv run flask db stamp head uv run flask install uv run flask run ``` From e32a6dfb1f901797e17f051b2cfef00f9cac9b04 Mon Sep 17 00:00:00 2001 From: level09 Date: Tue, 23 Jun 2026 16:09:27 +0200 Subject: [PATCH 2/2] docs: stamp alembic head in installation guide to match quick start --- docs/deployment/installation.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/deployment/installation.md b/docs/deployment/installation.md index 49d20529d..50da0b343 100644 --- a/docs/deployment/installation.md +++ b/docs/deployment/installation.md @@ -136,6 +136,7 @@ Create the database tables, roles, and default data. The create-exts flag create ```bash uv run flask create-db --create-exts +uv run flask db stamp head ``` ### Create Admin User