Skip to content

Our (backend) server for providing blank forms to Collect and Enketo and for receiving and storing submissions.

License

Notifications You must be signed in to change notification settings

kobotoolbox/kobocat

Folders and files

NameName
Last commit message
Last commit date
Aug 24, 2015
Mar 9, 2016
Jul 21, 2020
Jun 27, 2014
Jul 30, 2020
Mar 9, 2016
Jul 30, 2020
Apr 21, 2020
Jan 22, 2019
Jan 12, 2014
Nov 6, 2016
Nov 18, 2014
Feb 21, 2013
Mar 13, 2020
Jan 9, 2014
Nov 6, 2016
Jul 21, 2020
Mar 28, 2019
Jan 6, 2014
Apr 30, 2020
Mar 9, 2016
Feb 14, 2014
Jul 27, 2020
Jan 23, 2014
Jul 11, 2014
Jan 30, 2014
Apr 15, 2020
Aug 16, 2014

Repository files navigation

KoBoCAT

Important notice when upgrading from any release older than 2.020.18

Up to and including release 2.020.18, this project (KoBoCAT) and KPI both shared a common Postgres database. They now each have their own. If you are upgrading an existing single-database installation, you must follow these instructions to migrate the KPI tables to a new database and adjust your configuration appropriately.

If you do not want to upgrade at this time, please use the shared-database-obsolete branch instead.

Deprecation Notices

Much of the user-facing features of this application are being migrated to https://github.com/kobotoolbox/kpi. KoBoCAT's data-access API and OpenRosa functions will remain intact, and any plans to the contrary will be announced well in advance. For more details and discussion, please refer to https://community.kobotoolbox.org/t/contemplating-the-future-of-kobocat/2743.

As features are migrated, we will list them here along with the last release where each was present:

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 kobo-install 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