This reposity has been moved to [FormShare](https://github.com/qlands/FormShare) Please don't use this code as its broken
Collect, Analyze and Share Data!
Ona is derived from the excellent formhub platform developed by the Sustainable Engineering Lab at Columbia University.
I am keeping this fork because:
- Ona.io is not maintaing the user interface. I will try as much as I can.
- Most of its dependencies might change over time and break the code
Please read the Installation and Deployment Guide.
If you would like to contribute code please read Contributing Code to Ona Data.
- logger - This app serves XForms to and receives submissions from ODK Collect and Enketo.
- viewer - This app provides a csv and xls export of the data stored in 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 logger and viewer together.
To generate a locale from scratch (ex. Spanish)
$ django-admin.py makemessages -l es -e py,html,email,txt ;
$ for app in {main,viewer} ; do cd onadata/apps/${app} && django-admin.py makemessages -d djangojs -l es && cd - ; done
To update PO files
$ django-admin.py makemessages -a ;
$ for app in {main,viewer} ; do cd onadata/apps/${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,viewer} ; do cd onadata/apps/${app} && django-admin.py compilemessages && cd - ; done
$ cd docs
$ make html
$ python manage.py collectstatic