Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 554 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 554 Bytes

discogs-dump2db

Demo:

export DB_USER=discogs; \
export DB_PASSWORD=discogs; \
export DB_URL='jdbc:postgresql://localhost:5432/discogs'; \
./gradlew run --args='https://discogs-data.s3-us-west-2.amazonaws.com/data/2019/discogs_20190801_artists.xml.gz'

Setup

Clone https://github.com/tslic/discogs-dump-reader and https://github.com/tslic/discogs-jooq.

Publish both to local maven repo: ./gradlew publishToMavenLocal

Create a database schema in PostgreSQL using this file https://github.com/tslic/discogs-jooq/blob/master/schema.sql.