Use EpiCollect's phone app as a mobile client to collect data and store it with GeoKey.
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-devInstall the extension from PyPI:
pip install geokey-epicollectOr 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_epicollectYou're now ready to go!
Run tests:
python manage.py test geokey_epicollectCheck code coverage:
coverage run --source=geokey_epicollect manage.py test geokey_epicollect
coverage report -m --omit=*/tests/*,*/migrations/*