Skip to content

ExCiteS/geokey-cartodb

Repository files navigation

PyPI Package Travis CI Build Status Coveralls Test Coverage

geokey-cartodb

Provide API endpoints that can be used to import GeoKey data into CartoDB.

Install

geokey-cartodb requires:

  • Python version 2.7
  • GeoKey version 1.6 or greater

Install the extension from PyPI:

pip install geokey-cartodb

Or from cloned repository:

cd geokey-cartodb
pip install -e .

Add the package to installed apps:

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

Migrate the models into the database:

python manage.py migrate geokey_cartodb

You're now ready to go!

Test

Run tests:

python manage.py test geokey_cartodb

Check code coverage:

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