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/textgenerator
folder - Run
npm install
to install dependencies - Run
node generate.js -a
(-a
will build every versioninput
folder, run without-a
to 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.json
file 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/textgenerator
folder, 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.js
toconfig-custom.js
and update configs to your needs - Run
node builder.js
(creates build files to use with index-build.html)