Skip to content
Service Status and QoS Checker for OGC Web Services
Python HTML Shell JavaScript Dockerfile CSS Mako
Branch: master
Clone or download

Latest commit

justb4 minor code change for defensive style when zero Featuretypes in WFS (#…
…321)

* minor code change for defensive style when zero featsure types in WFS

* fix flake8 errors after flake8 upgrade to 3.8.2

* pin flake8 and pylint to 3.8.2 and 2.5.2 for reproducable builds
Latest commit d8b3667 May 30, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/ISSUE_TEMPLATE add enhancement label Oct 14, 2019
GeoHealthCheck minor code change for defensive style when zero Featuretypes in WFS (#… May 30, 2020
docker #318 revert gunicorn back to version 19.9.0 Apr 26, 2020
docs Issue #188 Config files for testing (#308) Dec 8, 2019
tests fix failing demo.pygeoapi.io OpenAPI validation test, use /stable end… Apr 25, 2020
.flake8 #176 remove McCabe complexity constraint from .flake8 config Dec 7, 2017
.gitignore Python 3 updates (#280) Nov 27, 2019
.travis.yml Python 3 updates (#280) Nov 27, 2019
CODE_OF_CONDUCT.md update contact to OSGeo Code of Conduct Committee Aug 31, 2019
CONTRIBUTING.md Create CONTRIBUTING.md (#274) Aug 31, 2019
Dockerfile Python 3 updates (#280) Nov 27, 2019
LICENSE Update LICENSE Oct 14, 2015
README.md Per resource scheduling (#222) Nov 5, 2018
VERSION back to dev Nov 15, 2019
babel.cfg add i8n support (#8) Oct 18, 2015
jobs.cron Per resource scheduling (#222) Nov 5, 2018
pavement.py Python 3 updates (#280) Nov 27, 2019
requirements-dev.txt minor code change for defensive style when zero Featuretypes in WFS (#… May 30, 2020
requirements.txt Fix for #133 use requests Session object with Retry capabilities (#319) Apr 26, 2020

README.md

Build Status Join the chat at https://gitter.im/geopython/GeoHealthCheck Docker Build Full Documentation

GeoHealthCheck

GeoHealthCheck (GHC) is a Service Status and QoS Checker for OGC Web Services and web APIs in general. See also the full GHC documentation.

Easiest is to run GHC using Docker. Below a quick overview of a manual install on Unix-based systems like Apple Mac and Linux.

virtualenv GeoHealthCheck && cd $_
. bin/activate
git clone https://github.com/geopython/GeoHealthCheck.git
cd GeoHealthCheck
pip install Paver
# setup installation
paver setup
# generate secret key
paver create_secret_key
# setup local configuration (overrides GeoHealthCheck/config_main.py)
vi instance/config_site.py
# edit at least secret key:
# - SECRET_KEY  # copy/paste result string from paver create_secret_key

# Optional: edit other settings or leave defaults
# - SQLALCHEMY_DATABASE_URI
# - GHC_RETENTION_DAYS
# - GHC_SELF_REGISTER
# - GHC_RUNNER_IN_WEBAPP
# - GHC_ADMIN_EMAIL
# - GHC_SITE_TITLE
# - GHC_MAP (or use default settings)

# setup database and superuser account interactively 
paver create

# start webserver with healthcheck runner daemon inside 
# (default is 0.0.0.0:8000)
python GeoHealthCheck/app.py  
# or start webserver on another port
python GeoHealthCheck/app.py 0.0.0.0:8881
# or start webserver on another IP
python GeoHealthCheck/app.py 192.168.0.105:8001

# OR start webserver and separate runner daemon (scheduler) process
vi instance/config_site.py
# GHC_RUNNER_IN_WEBAPP = False
python GeoHealthCheck/scheduler.py & 
python GeoHealthCheck/app.py  

# next: use a real webserver or preferably Docker for production

# other commands
#
# drop database
python GeoHealthCheck/models.py drop

# load data in database (WARN: deletes existing data!)
# See example data .json files in tests/data
python GeoHealthCheck/models.py load <.json data file> [y/n]

More in the full GHC documentation.

You can’t perform that action at this time.