manuscripts-data
This repository contains source data for use by Manuscripts client applications, plus scripts for building and deploying the data to S3 and a Docker image.
Data sources
CSL submodules
The CSL locale and style files are published by the CSL project.
-
csl/locales
- the official Citation Style Language (CSL) locale files. -
csl/styles
- the official distribution of validated CSL citation styles.
Run scripts/update.sh
to update these sources.
Couchbase Lite databases
-
couchbase/*.cblite
- databases from the Manuscripts desktop repository.
Run node scripts/extract-databases.js
to extract the objects from these databases to JSON files. This happens automatically as part of the build process, so the extracted JSON files are not committed to version control.
JSON files
-
shared/*.json
- JSON files from the Manuscripts desktop repository.
Development
- Clone this repository and run
git submodule update --init --recursive
. - Run
yarn build
to generate and populate thedist
directory. - Run
yarn dev
to serve the files from thedist
directory.