Skip to content

Add local Postgres test environment setup#20

Open
tmsincomb wants to merge 3 commits intomasterfrom
db-test-env
Open

Add local Postgres test environment setup#20
tmsincomb wants to merge 3 commits intomasterfrom
db-test-env

Conversation

@tmsincomb
Copy link
Collaborator

@tmsincomb tmsincomb commented Feb 24, 2026

Summary

  • Added bin/dbsetup_local script that dumps AWS RDS data and restores it into a local Postgres instance for testing
  • Added sql/local_test_database.sql for creating the local test DB with correct collation and ownership
  • Updated .gitignore to exclude dump files, IDE configs, and dev docs
  • Dropped pre-commit from dev dependencies (no longer needed)

Test plan

  • Run bin/dbsetup_local against a local Postgres and verify tables are populated
  • Confirm .dump files are gitignored after generation

@tmsincomb tmsincomb self-assigned this Feb 24, 2026
@tmsincomb tmsincomb requested a review from tgbugs February 24, 2026 00:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant