Skip to content

feat: open library#23

Open
BobdenOs wants to merge 1 commit intocapire:mainfrom
BobdenOs:data/open-library
Open

feat: open library#23
BobdenOs wants to merge 1 commit intocapire:mainfrom
BobdenOs:data/open-library

Conversation

@BobdenOs
Copy link
Copy Markdown

This script can load the Authors and Works (Books) from the open library project into the @capire/bookshop.

⚠️ disclaimer ⚠️
It is required to run the script in file mode for @cap-js/sqlite as the sqlite file produced is ~7GiB in size. The import takes 15-45 minutes largely depending on the target database.

CDS_REQUIRES_DB_KIND=sqlite node ./db/library.js                              # sqlite
CDS_ENV=pg node ./db/library.js                                               # postgres
CDS_REQUIRES_DB='{"kind": "hana","credentials":{...}}' node ./library.js      # hana

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant