Closed damonmcc closed 2 months ago
using the changes in this data flow PR and this Zoning API PR, I was able to:
I was able to get it all up and running locally, using Docker for both the Zoning API and the Data Flow, to create the completed tables in the Zoning API database. Did this with the help of @damonmcc. I had 2 pieces of feedback:
I was able to test Data Flow DB update to Zoning API DB locally by setting up with changes from this PR. The set up downloaded, transformed and created the tables in Data Flow DB.
I tested changes by changing the address of the first row in tax_lot table in Data Flow DB (1000010010
) to 'HELLO WORLD'. I ran ./bash/export.sh
and ./bash/update_api_db.sh
to create the db.dump and update the local Zoning API DB. I was able to see the 'HELLO WORLD' address for the Zoning API DB afterward.
I was able to get everything running locally! I ran through the README and was able to successfully run all scripts
Since this repo's purpose is to change data in remote databases, we must use data in those databases to confirm that this repo's code/design works.
One way to do that is to use remote Data Flow and API databases (
dev
for example) with local instances of the Zoning API and the Zoning Map PoCdev
database credentials)Another way is to use local everything: DBs, API, PoC