docs: add db init steps to README quick start#332
Conversation
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.
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
apodacaduron
left a comment
There was a problem hiding this comment.
Should we also add uv run flask db stamp head to docs/deployment/installation.md so the full install guide matches this Quick Start flow?
The Quick Start section skips schema creation, so
flask installexits with an error on a fresh clone (no Role table to query).Add the two documented init steps between
gen-env.shandflask install:flask create-db --create-extscreates the schema and PostGIS / pg_trgm extensionsflask db stamp headmarks Alembic at the current revision so a laterflask db upgradeis a no-op