Skip to main content

Use EpiCollect to collect data for GeoKey

Project description

PyPI Package Travis CI Build Status Coveralls Test Coverage

geokey-epicollect

Use EpiCollect’s phone app as a mobile client to collect data and store it with GeoKey.

Install

geokey-epicollect requires:

  • Python version 2.7

  • GeoKey version 1.6 or greater

Make sure the dependencies are installed:

sudo apt-get install libxslt1-dev libxml2-dev

Install the extension from PyPI:

pip install geokey-epicollect

Or from cloned repository:

cd geokey-epicollect
pip install -e .

Add the package to installed apps:

INSTALLED_APPS += (
    ...
    'geokey_epicollect',
)

Migrate the models into the database:

python manage.py migrate geokey_epicollect

You’re now ready to go!

Test

Run tests:

python manage.py test geokey_epicollect

Check code coverage:

coverage run --source=geokey_epicollect manage.py test geokey_epicollect
coverage report -m --omit=*/tests/*,*/migrations/*

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

geokey-epicollect-1.0.3.tar.gz (8.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page