Skip to content

ExCiteS/geokey-extension-boilerplate

Repository files navigation

Travis CI Build Status Coveralls Test Coverage

geokey-extension

This is my awesome GeoKey extension.

Install

geokey-extension requires:

  • Python version 2.7
  • GeoKey version 1.0 or greater

Install the extension from PyPI:

pip install geokey-extension

Or from cloned repository:

cd geokey-extension
pip install -e .

Add the package to installed apps:

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

Migrate the models into the database:

python manage.py migrate geokey_extension

Copy static files:

python manage.py collectstatic

You're now ready to go!

Test

Run tests:

python manage.py test geokey_extension

Check code coverage:

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

Releases

No releases published

Packages

No packages published