Skip to content

Repository files navigation

Bibliognost

A social site for book reviews, lists, favorites.

Importing Data

Pull the expected data dumps from Open Library.

Get the dumps for authors, works, and editions.

Run the import services in the following order (Until I've added the parent service to run them all):

  1. Import authors with OpenLibrary::AuthorService.new(path/to/author/dump).call
  2. Import works with OpenLibrary::WorkService.new(path/to/work/dump).call
  3. Import subjects with OpenLibrary::SubjectService.new(path/to/work/dump).call
  4. Import works/subjects relationships with OpenLibrary::WorkSubjectService.new(path/to/work/dump).call
  5. Import works/authors relationships with OpenLibrary::WorkAuthorService.new(path/to/work/dump).call
  6. Import languages with OpenLibrary::LanguageService.new.call
  7. Import publishers with OpenLibrary::PublisherService.new(path/to/edition/dump).call
  8. Import editions with OpenLibrary::EditionService.new(path/to/edition/dump).call
  9. Import edition/authors relationships with OpenLibrary::EditionAuthorService.new(path/to/edition/dump).call
  10. Import work covers with OpenLibrary::WorkCoverService.new(path/to/works/dump).call
  11. Import edition covers with OpenLibrary::EditionCoverService.new(path/to/editions/dump).call

About

A social site for book reviews, lists, favorites.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages