Skip to content

buda-base/public-digital-library

Repository files navigation

public-digital-library

Install

It is recommended to use yarn to install the app and any other packages. Installation instructions for each platform are on their website.

This will install nodejs as well. yarn is similar to npm (which you may have used in the past), but has better performance and more reliable dependency resolution.

After yarn is installed, clone the repo, then simply run

yarn install

To start the test server:

yarn start

It should automatically open the test page in Chrome. Otherwise, visit http://localhost:3000

To test:

yarn jest language

Settings

URL to lds-pdi

There is a config-defauls.json located in /public directory. It contains:

  • a list of candidate urls to lds-pdi
  • an index in the list to use on startup.

Default settings can be overridden using a separate /public/config.json.

Translation

Use our transifex project to do translations. Source strings for every language are automatically updated from the English source file.

Note: strings that don't need to appear in a language are translated as a single zero-width space "​". If the target string is left empty, Transifex will automatically fill it in with the source text.

Stanza for EZProxy

https://help.oclc.org/Library_Management/EZproxy/EZproxy_database_stanzas/Database_stanzas_B/Buddhist_Digital_Resource_Center_(BUDA)

AnonymousURL +https://ldspdi.bdrc.io/*
AnonymousUrl +https://editserv.brdc.io/*
AnonymousURL +https://iiifpres.bdrc.io*
AnonymousURL +https://iiif.bdrc.io*
Title BUDA - Buddhist Digital Resource Center
URL https://library.bdrc.io
Host library.bdrc.io
HJ https://library.bdrc.io
HJ https://ldspdi.bdrc.io
HJ https://iiif.bdrc.io
HJ https://iiifpres.bdrc.io
HJ bdrc.io
DJ bdrc.io
NeverProxy http://purl.bdrc.io
NeverProxy https://purl.bdrc.io
AnonymousURL -*