Central is the ODK server. It manages user accounts and permissions, stores form definitions, and allows data collection clients like ODK Collect to connect to it for form download and submission upload.
Our goal with Central is to create a modern server that is easy to install, easy to use, and extensible with new features and functionality both directly in the software and with the use of our REST, OpenRosa, and OData programmatic APIs.
This repository serves as an umbrella for the Central project as a whole:
- Operations repository for packaging the server and client into a Docker Compose application.
- Release repository for publishing binary artifacts.
If you are looking for help, please take a look at the Documentation Website. If that doesn't solve your problem, please head over to the ODK Forum and do a search to see if anybody else has had the same problem. If you've identified a new problem or have a feature request, please post on the forum. We prefer forum posts to Github issues because more of the community is on the forum.
We would love your contributions to Central. If you have thoughts or suggestions, please share them with us on the Features board on the ODK Forum. If you wish to contribute code, you have the option of working on the Backend server (contribution guide), the Frontend website (contribution guide), or both. To set up a development environment, first follow the Backend instructions and then optionally the Frontend instructions.
Central relies on pyxform-http for converting forms from XLSForm. It generally shouldn't be needed in development but can be run locally. Central also relies on Enketo for web form functionality. The Enketo integration uses Central's cookie auth for a seamless user experience and cookie auth is only available when Central uses HTTPS. For this reason, we typically don't recommend trying to run Enketo in development. Instead, you can drive local development that integrates with Enketo using tests and then try new functionality in a production environment by checking out a commit from your fork. Be sure to follow the upgrade instructions exactly. In particular, do not run docker-compose down
because this will recreate new volumes instead of using existing ones.
This repository serves administrative functions, but it also contains the Docker code for building and running a production Central stack.
To learn how to run such a stack in production, please take a look at our DigitalOcean installation guide.
All of ODK Central is licensed under the Apache 2.0 License.