Name: translationDatabaseWeb
Description: null
Created: 2014-10-09 21:11:28.0
Updated: 2017-01-11 18:56:01.0
Pushed: 2017-05-25 21:55:37.0
Homepage: http://td.unfoldingword.org
Size: 10898
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
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.
A lot of the sources of data are pull into and managed as repo as part of the Debian project called simply, ISO Codes.
To setup a new working environment of this project, several items are needed:
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)
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.
/exports/langnames.json
and /exports/langnames_short.json
endpointsWhen languages are added or updated, run this command to update the data locally:
on manage.py rebuild_langnames
Switch to the master branch and run this command to update the data on the server:
un web python manage.py rebuild_langnames