Skip to content

tomislijepcevic/discogs-dump2db

Repository files navigation

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.

About

Dump discogs records into database

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages