Boilerplate for GeoKey extensions
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
geokey_extension
travis_ci
.coveragerc
.editorconfig
.gitignore
.travis.yml
LICENSE
MANIFEST.in
README.rst
setup.py

README.rst

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/*