Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DX improvements for local development #1384

Open
akash1810 opened this issue Jan 8, 2025 · 0 comments
Open

DX improvements for local development #1384

akash1810 opened this issue Jan 8, 2025 · 0 comments

Comments

@akash1810
Copy link
Member

When we run npm -w dev-environment start we:

  1. Copy data from CODE to local SQL files (this can take a while)
  2. Mount these files into the Postgres container
  3. Postgres then performs the INSERT statements to populate the tables

The intention is to have a working local environment is as few steps. However, this only happens if we start with an empty database. If the database is not empty, we still copy data from CODE, but do nothing with it.

Can we improve the DX by:

  • Only copying data from CODE if the local database is empty
  • Warn when the local database is not empty
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

No branches or pull requests

1 participant