Devcontainer (under development) - NYCPlanning/db-pluto GitHub Wiki
Purpose
To facilitate setting up an easy local development environment, the improvement of devcontainer is under development on this feature branch. We leveraged the technology Remote Container tool suite from Visual Studio Code. Remote Container allows for variety of ways to set up the container(s), we opted for the Docker Compose oriented approach because our need for both a Linux environment (which simulates the GitHub-hosted runner) and a Postgres database to work in tandem.
Spatial Export
One significant change, in order to fully test the pipeline, we made is to the exporting functionalities. Because of the challenging nature of installing and building GDAL with appropriate API for exporting FileGDB format, we have to leverage existing Docker image. One of our fellow engineers on the team, Andrew, was able to figure out how to stack built Docker images, and we were able to circumvent building and configuring GDAL ourselves and running export successfully.
Future Work
The [stacked Docker image] even though they successfully built and run were outdated. In the future, we should consider using a more recent gdal image to build with the appropriate API for exporting.