Bible software that runs in the browser. See changelog.md for recent updates.
An update to https://github.com/digitalbiblesociety/browserbible.
- Install Node.js (http://nodejs.org/download/) for your platform
- Navigate to the
/tools/textgeneratorfolder - Run
npm installto install dependencies - Run
node generate.js -a(-awill build every versioninputfolder, run without-ato see help) - Run
node create_texts_index.js(this creates a list of all versions to startup the app)
To create additional texts
- Create a folder under
/tools/textgenerator/input/MyNewVersion/ - Create a
info.jsonfile in that folder with the id, name, language, information - Put content in the folder (currently USFM files and bibles from http://unbound.biola.edu/)
- From
/tools/textgeneratorfolder, runnode generate.js -v <foldername>to generate an additional text - Run
node create_texts_index.js(this updates the list of versions)
To create a "build" version, you'll need uglify-js
- Install uglify-js
npm install uglify-js - Rename
app/js/windows/config-custom-example.jstoconfig-custom.jsand update configs to your needs - Run
node builder.js(creates build files to use with index-build.html)