Skip to content
Data collection for humanitarian emergencies
Python JavaScript HTML CSS Shell Dockerfile Makefile
Branch: master
Clone or download
Latest commit 2dc7f2a Aug 9, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.travis Update staging known host key Aug 24, 2015
.tx Add missing Transifex configuration file. Mar 9, 2016
docker Fixed uWSGI mode, applied requests from PR Feb 11, 2019
docs UK: add doc to document api changes Jun 27, 2014
kobocat-template Prepare to combine with `kobocat` repository Mar 28, 2019
locale/en/LC_MESSAGES Add initial initial extracted translatable strings. Mar 9, 2016
onadata Merge pull request #566 from kobotoolbox/565-duplicated-submissions Aug 9, 2019
requirements Update Pyxform to 0.13.1. See kobotoolbox/kpi#2236 Mar 28, 2019
script Upgraded to Celery4 Jan 22, 2019
.bowerrc moved js text directory to libs directory Jan 12, 2014
.dockerignore Remove `.pyc` files and `pip` cache from Docker images. Nov 6, 2016
.failing-travis.yml Merge kobocat's master into onadata's master Nov 18, 2014
.gitattributes OS specific lineendings Feb 21, 2013
.gitignore Make development easier. Mar 3, 2016
.jshintrc disable nomen to allow underscores in private var names Jan 9, 2014
.travis.yml Don't double-build PR commits in Travis. Nov 6, 2016
Dockerfile Revert "Add `kobocat-template` as a Git submodule" Mar 29, 2019
Dockerfile.kobocat_base Adjust `kobocat-template` in settings and… Mar 28, 2019
LICENSE PLD: update license dates Jan 6, 2014
README.rst Small change to readme intro text Oct 24, 2014
apt_requirements.txt Set up initial translation retrieval automation. Closes #135. Mar 9, 2016
bower.json LW: upgraded backgrid to 0.3.5 Feb 14, 2014
manage.py use common settings as default to prevent local_settings from being o… Jan 23, 2014
package.json PLD: try to pin bower version Jul 11, 2014
privacy.md Update privacy.md Jan 30, 2014
uwsgi.ini PLD: processes to 8 Aug 16, 2014

README.rst

About

kobocat is the data collection platform used in KoBoToolbox. It is based on the excellent onadata platform developed by Ona LLC, which in itself is a redevelopment of the formhub platform developed by the Sustainable Engineering Lab at Columbia University.

Please refer to dist-kobo-devel for instructions on how to install KoBoToolbox.

Code Structure

  • 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.

Localization

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 kobocat/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 kobocat/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 kobocat/apps/${app} && django-admin.py compilemessages && cd - ; done
You can’t perform that action at this time.