modified: README.md
Python3 instrcutions
This commit is contained in:
@@ -4,20 +4,20 @@ pygeoapi provides an API to geospatial data
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
virtualenv pygeoapi
|
||||
virtualenv -p python3 pygeoapi
|
||||
cd pygeoapi
|
||||
. bin/activate
|
||||
git clone https://github.com/geopython/pygeoapi.git
|
||||
cd pygeoapi
|
||||
git checkout flask-app
|
||||
pip install -r requirements.txt
|
||||
pip install -r requirements-dev.txt
|
||||
pip3 install -r requirements.txt
|
||||
pip3 install -r requirements-dev.txt
|
||||
pip3 install -e .
|
||||
cp pygeoapi-config.yml local.yml
|
||||
vi local.yml
|
||||
# update server.url
|
||||
# add ES dataset(s) to datasets section
|
||||
export PYGEOAPI_CONFIG=`pwd`/local.yml
|
||||
python pygeoapi/app.py
|
||||
python3 pygeoapi/app.py
|
||||
```
|
||||
|
||||
## Example requests
|
||||
|
||||
Reference in New Issue
Block a user