Skip to content

ExCiteS/geokey-duplicate

Repository files navigation

PyPI Package Travis CI Build Status Coveralls Test Coverage

geokey-duplicate

Duplicate project and categories

Download all observations Currently supported formats:

  • KML
  • GeoJSON
  • XLXS

Install

geokey-duplicate requires:

  • Python version 2.7
  • GeoKey version 1.6 or greater

Install the extension from PyPI:

pip install geokey-duplicate

Or from cloned repository:

cd geokey-duplicate
pip install -e .

Add the package to installed apps:

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

Migrate the models into the database:

python manage.py migrate geokey_duplicate

Copy static files:

python manage.py collectstatic

You're now ready to go!

Test

Run tests:

python manage.py test geokey_duplicate

Check code coverage:

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