Skip to content

Topol/formhub

 
 

Repository files navigation

Installation

Here are the steps I went through to install formhub in Ubuntu 10.04. First, I set up a new virtual environment:

sudo apt-get install python-virtualenv cd ~/Documents mkdir virtual_environments cd virtual_environments virtualenv --no-site-packages formhub source formhub/bin/activate

Second, I cloned the repo:

cd ~/Documents git clone git@github.com:modilabs/formhub.git

Install the requirements:

cd formhub pip install -r requirements.pip

If you don't already have a Java Runtime Environment installed this is necessary for running ODK Validate. A *.jar file used to validate XForms.

sudo apt-get install default-jre

To create a database for your development server do the following:

python manage.py syncdb python manage.py migrate

And now you should be ready to run the server:

python manage.py runserver

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_exporter together. This is where xls2xform conversion happens.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published