/openaq-geojson

openaq locations as geojson

Primary LanguagePython

openaq-geojson

A proxy app that returns OpenAQ API Locations data as GeoJSON. TBH, this functionality should be added to openaq-api at some point.

Running Locally

Make sure you have Python 3.7 installed locally. To push to Heroku, you'll need to install the Heroku CLI.

$ git clone https://github.com/dolugen/flask-starter.git
$ cd flask-starter

$ python3 -m venv env
$ source ./env/bin/activate
$ pip install -r requirements.txt

$ heroku local

Your app should now be running on localhost:5000.

Testing

$ pytest tests.py

Deploying to Heroku

$ heroku create
$ git push heroku master

$ heroku open

or

Deploy

Documentation

For more information about using Python on Heroku, see these Dev Center articles: