Uses Knex as a tool to setup schema with knex migrate
. Use knex seed
scripts as a light ETL to port data into the relational database.
Run the seed script to download and insert data into Postgres.
docker-compose run --rm db-util yarn initialize
Use docker compose to run a standard Postgres server. (@see docker-compose.yml)
docker-compose up
- docker
- docker compose