Import Open Library data into PostgreSQL
mainOnce the data is processed and located in the data/processed folder, you can import it into PostgreSQL using the provided SQL scripts. This process is resource-intensive and may take several hours.
Use the psql command-line tool to execute the openlibrary-db.sql script. Replace username with your actual PostgreSQL username.
psql --set=sslmode=require -f openlibrary-db.sql -h localhost -p 5432 -U username postgres