Skip to content

eldarion/translationDatabaseWeb

 
 

Repository files navigation

translationDatabase

Build Status Coverage Status

Goals

The goals for translationDatabase are to manage and track data for languages and the progress of getting unrestricted biblical content into every language.

For more information on the unfoldingWord project, see the About page.

Data Sources

A lot of the sources of data are pull into and managed as repo as part of the Debian project called simply, ISO Codes.

In Use

Other Potential Sources

Getting Started

To setup a new working environment of this project, several items are needed:

  • Python (consult the requirements.txt for specific libraries/packages)
  • Redis
  • Postgres
  • Node

Building Static Media

npm install
npm run watch     # run a watcher on the static folder
npm run build     # builds static and exits
npm run buildprod # builds for production (uglify/minification)

Initialize the Database

After installing requirements (via pip) within your environment or virtualenv:

  • python manage.py migrate
  • python manage.py loaddata sites
  • python manage.py loaddata uw_network_seed
  • python manage.py loaddata uw_region_seed
  • python manage.py loaddata uw_title_seed
  • python manage.py loaddata uw_media_seed
  • python manage.py loaddata additional-languages
  • python manage.py reload_imports

At this point, the basic country and language datasets will be populated but without many optional fields or extra data.

Updating the /exports/langnames.json and /exports/langnames_short.json endpoints

When languages are added or updated, run this command to update the data locally:

python manage.py rebuild_langnames

Switch to the master branch and run this command to update the data on the server:

ec run web python manage.py rebuild_langnames

Releases

No releases published

Packages

No packages published

Languages

  • Python 48.7%
  • HTML 47.7%
  • Less 2.1%
  • JavaScript 1.5%