Skip to content

vernondcole/formhub

 
 

Repository files navigation

eHealth Africa

this copy of the Formhub software is customized for the use and convenience of https://www.ehealthafrica.org and our customers. More complete documentation is found in the wiki at https://github.com/vernondcole/formhub/wiki

v v v v v v text below this point is unaltered from the original v v v v v v

Formhub

image

Installation

Please read the Installation and Deployment Guide.

Contributing

If you would like to contribute code please read Contributing Code to Formhub.

Code Structure

  • odk_logger - This app serves XForms to ODK Collect and receives submissions from ODK Collect. This is a stand alone application.
  • odk_viewer - This app provides a csv and xls export of the data stored in odk_logger. This app uses a data dictionary as produced by pyxform. It also provides a map and single survey view.
  • main - This app is the glue that brings odk_logger and odk_viewer together.

Localization

To generate a locale from scratch (ex. Spanish)

$ django-admin.py makemessages -l es -e py,html,email,txt ;
$ for app in {main,odk_viewer} ; do cd ${app} && django-admin.py makemessages -d djangojs -l es && cd - ; done

To update PO files

$ django-admin.py makemessages -a ;
$ for app in {main,odk_viewer} ; do cd ${app} && django-admin.py makemessages -d djangojs -a && cd - ; done

To compile MO files and update live translations

$ django-admin.py compilemessages ;
$ for app in {main,odk_viewer} ; do cd ${app} && django-admin.py compilemessages && cd - ; done

About

Mobile Data Collection made easy.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 65.4%
  • JavaScript 30.6%
  • CSS 3.8%
  • Shell 0.2%