Skip to main content

Django Registry by Harvard CGA

Project description

# HHypermap Registry [![Build Status](https://travis-ci.org/cga-harvard/HHypermap.svg?branch=registry)](https://travis-ci.org/cga-harvard/HHypermap)

## Introduction

HHypermap (Harvard Hypermap) Registry is a platform that manages OWS, Esri REST, and other types of map service harvesting, and orchestration and maintains uptime statistics for services and layers. Where possible, layers will be cached by MapProxy. It is anticipated that other types of OGC service such as WFS, WCS, WPS, as well as flavors of Esri REST and other web-GIS protocols will eventually be included. The platform is initially being developed to collect and organize map services for Harvard WorldMap, but there is no dependency on WorldMap. HHypermap Registry publishes to HHypermap Search (based on Lucene) which provides a fast search and visualization environment for spatio-temporal materials. The initial funding for HHypermap Registry came from a grant to the Center for Geographic Analysis from the National Endowment for the Humanities.

## Installation

### Running Hypermap on Docker

Easiest way to have an HHypermap instance up and running is to use Docker.

` git clone git@github.com:cga-harvard/HHypermap.git cd HHypermap make build make up make sync make logs `

Wait for the instance to be provisioned (about 3/4 minutes).

Then connect to: http://localhost:8000 and your instance should be up and running.

You can edit the files with your IDE from your host, as the directory /code on the guest is synced with your host.

To run unit tests:

` make test `

To debug Django, this is what it can be done:

` docker-compose stop django docker-compose run --service-ports django `

Then add some breakpoint - import ipdb;ipdb.set_trace() - and happy debugging!

## Start using Hypermap

Login to the home page, http://localhost:8000. It will be empty. You need to add some endpoints to Hypermap. So go to the administrative interface:

http://localhost:8000/admin/

Go to Endpoint List and add an endpoint list, for example the one included in /data.

After saving, Hypermap should be start harvesting the endpoint.

Harvesting will be performed by the Django server if SKIP_CELERY_TASK = True, otherwise by Celery. Please note that harvesting operations can be time consuming, so it is better to setup a Celery process if possible.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-registry-0.3.10.tar.gz (1.2 MB view details)

Uploaded Source

File details

Details for the file django-registry-0.3.10.tar.gz.

File metadata

File hashes

Hashes for django-registry-0.3.10.tar.gz
Algorithm Hash digest
SHA256 4c985f7f8b27722768eeff5783726987d39fa9a357f85ae787bfecc788836a0e
MD5 182205b0e705a86d91b89cc915514207
BLAKE2b-256 ab474807cb37bc2d674c4dd61314230470535002bf5408a5d36bdf5467914568

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page