Skip to content

Add script to bootstrap SQLite & Mongo from files#143

Open
RoseAllenM wants to merge 3 commits into
AcademySoftwareFoundation:mainfrom
RoseAllenM:bootstrap
Open

Add script to bootstrap SQLite & Mongo from files#143
RoseAllenM wants to merge 3 commits into
AcademySoftwareFoundation:mainfrom
RoseAllenM:bootstrap

Conversation

@RoseAllenM

Copy link
Copy Markdown
Contributor

Summary

This PR adds a bootstrap_dataset script to pre-populate custom playlists/transcripts into SQLite and Mongo. This makes it possible to to test DNA functionality without needing to host a fake review session first.

Testing

  • I have tested these changes locally
  • I have run all relevant automated tests
  • I have verified this does not break existing workflows

How I Tested

  • make start-mongo
  • python -m dna.devtools.bootstrap_dataset ../sample_dailies_dataset
  • make start-local

@jspada200

Copy link
Copy Markdown
Collaborator

Looks good to me! I think we do need to wait for @DmitriyG228 's PRs related to transcription to land then update this as the data model for transcripts is changing.

Signed-off-by: Allen Rose <RoseAllenM@gmail.com>
@jspada200

Copy link
Copy Markdown
Collaborator

Hey! @DmitriyG228 's change is in. Feel free to adapt then will take another look

jspada200 added 2 commits May 11, 2026 16:04
Signed-off-by: James Spadafora <spadjv@gmail.com>
@jspada200

Copy link
Copy Markdown
Collaborator

Hey @RoseAllenM , could you check to make sure the data shape for transcription is up to date and the tests pass? Thanks!

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.

2 participants