Skip to content
This repository has been archived by the owner on Mar 24, 2019. It is now read-only.

openregister/geoindex

Repository files navigation

=============================== geoindex

Requirements

Note if running on heroku the last four listed above can be satisfied by using this buildpack

Quickstart

Then run the following commands to bootstrap your environment.

mkvirtualenv --python=/path/to/required/python/version [appname]

Install python requirements.

pip install -r requirements/dev.txt

Prepare Postgres

createdb gis
psql -d gis -c 'CREATE EXTENSION postgis'

then create tables

source environment.sh
python manage.py db upgrade

To load data run:

python manage.py load_geojson

This loads the geojson data from: https://github.com/openregister/boundaries

Once that this all done you can run the app:

./run.sh

Deployment

In your production environment, make sure the SETTINGS environment variable is set to config.Config.

Heroku

For heroku deployment use this buildpack which has all the geo prerequisites.

This application is currently deployed at: http://openregister-geoindex.herokuapp.com/

About

Prototype of geo index application for register data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published