A full-text transcription web app, written for the Folger Library.
To install, clone the repo and run npm install
To develop locally, run npm start
. Your browser will automatically be opened and directed to the browser-sync proxy address, and the server will serve files from the /build
directory. Any changes in the /app
directory will be automatically processed by Gulp, and the changes injected to any open browsers pointed at the proxy address.
NOTE: this app wasn't developed against staging, so while there is a staging app for testing auth, it probably won't work otherwise. To get it running locally as expected, run NODE_ENV=production npm start
;
To deploy to http://preview.zooniverse.org/folgerdemo/ run npm run deploy-alpha
.
To deploy to http://preview.zooniverse.org/shakespearesworld/ run npm run deploy-staging
.
To deploy to https://shakespearesworld.org/ run npm run deploy-production
.
The project now uses Caesar to request aggregated lines via the GraphQL endpoint. To show an aggregated line, the minimum consensus score on a line must be > 2.5, or the number of views on the line must be > 4 . The minimum number of views is set as the consensus score can be artificially low if a user decides to type a bunch of words that aren't there/try to do the full page of text but only has dots round the first line.