Skip to content
Anthony Fok edited this page Mar 1, 2022 · 1 revision

Welcome to the pygeoapi wiki!

For developers and the truly impatient

(Adapted from https://docs.pygeoapi.io/en/latest/installation.html#for-developers-and-the-truly-impatient):

For OSes like Debian where there is only /usr/bin/python3 and no /usr/bin/python by default:

python3 -m venv pygeoapi
cd pygeoapi
. bin/activate
git clone https://github.com/OpenDRR/pygeoapi.git
cd pygeoapi
pip3 install -r requirements.txt
python3 setup.py install
cp pygeoapi-config.yml example-config.yml
vi example-config.yml
export PYGEOAPI_CONFIG=example-config.yml
export PYGEOAPI_OPENAPI=example-openapi.yml
pygeoapi openapi generate $PYGEOAPI_CONFIG > $PYGEOAPI_OPENAPI
pygeoapi serve
curl http://localhost:5000
Clone this wiki locally