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

Allow devs to run complete local db environment #59

Open
PGrad opened this issue Aug 12, 2023 · 0 comments
Open

Allow devs to run complete local db environment #59

PGrad opened this issue Aug 12, 2023 · 0 comments

Comments

@PGrad
Copy link

PGrad commented Aug 12, 2023

Problem Description

Currently it's difficult to set up a local DB that has all of the tables created and loaded with seed data: you have to run the .sql files manually and there's still a lot of errors. The work here is to:

  1. have the docker-compose.yml file automatically run the .sql files under wtt_db/tables in the correct order, accounting for tables that need to be created before others because of foreign keys.
  2. fix any errors that appear when running docker-compose.yml.
  3. confirm that you can login as the "trees" user with the correct password (this requires setting up an .env file, reach out to @zoobot or me on this).
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