/tipg-aurora

[WIP] Aurora backend for Tipg

Primary LanguagePLpgSQLMIT LicenseMIT

Aurora Backend for TiPG.


Documentation:

Source Code: https://github.com/developmentseed/tipg-aurora


Install

git clone https://github.com/developmentseed/tipg-aurora.git
cd tipg-aurora

python -m pip install -e .

Configuration

To be able to work, the application will need access to the database. tipg-aurora uses Starlette's configuration pattern, which makes use of environment variables or a .env file to pass variables to the application.

An example of a .env file can be found in .env.example

# you need to define the DATABASE_URL directly
DATABASE_URL=postgresql://username:password@0.0.0.0:5432/postgis

Launch

$ pip install uvicorn

# Set your PostGIS database instance URL in the environment
$ export DATABASE_URL=postgresql://username:password@0.0.0.0:5432/postgis
$ uvicorn tipg-aurora.main:app

Contribution & Development

See CONTRIBUTING.md

License

See LICENSE

Authors

Created by Development Seed

Changes

See CHANGES.md.