CityofToronto / bdit_flashcrow

Working repository for MOVE, a project to modernize transportation data systems at the City of Toronto.
MIT License
9 stars 2 forks source link

Experimenting with better bash scripts for PG db (For docker) #1286

Closed lowsound42 closed 4 months ago

lowsound42 commented 4 months ago

This PR adds a conditional check in the DB init scripts. If the environment is within a docker container, we use the docker filepaths. If not, we use the default file paths.

This way we can use the same db scripts for the docker environment as well as for the deployed application on dev, qa, and prod.