1414## Quick Guide
1515
1616Clone the repository:
17- ``` bash
17+ ``` console
1818git clone https://github.com/cehbrecht/nandu.git
1919cd nandu
2020```
2121
2222Create the Conda environment:
23- ``` bash
23+ ``` console
2424conda env create -f environment.yml
2525conda activate nandu
2626```
2727
2828You can use make to run the installation:
29- ``` bash
29+ ``` console
3030make install
3131```
3232
3333... and start the service:
34- ``` bash
34+ ``` console
3535make start
3636```
3737
@@ -45,47 +45,47 @@ make start
4545
4646Clone the repository:
4747
48- ``` bash
48+ ``` console
4949git clone https://github.com/cehbrecht/nandu.git
5050cd nandu
5151```
5252
5353Create the Conda environment:
5454
55- ``` bash
55+ ``` console
5656conda env create -f environment.yml
5757conda activate nandu
5858```
5959
6060Install the project dependencies using Poetry:
61- ``` bash
61+ ``` console
6262poetry install
6363```
6464
6565## Configuration
6666
6767Edit pygeoapi config (optional):
68- ``` bash
68+ ``` console
6969vim pygeoapi-config.yml
7070```
7171
7272Export paths to configs:
7373
74- ``` bash
74+ ``` console
7575export PYGEOAPI_CONFIG=pygeoapi-config.yml
7676export PYGEOAPI_OPENAPI=pygeoapi-openapi.yml
7777```
7878
7979Update the OpenAPI configuration:
8080
81- ``` bash
81+ ``` console
8282pygeoapi openapi generate $PYGEOAPI_CONFIG --output-file $PYGEOAPI_OPENAPI
8383```
8484
8585## Usage
8686
8787Start the pygeoapi server and expose the processes:
88- ``` bash
88+ ``` console
8989pygeoapi serve
9090```
9191
@@ -103,7 +103,7 @@ http://localhost:5000/processes/hello-world
103103
104104
105105Execute the process:
106- ``` bash
106+ ``` console
107107curl -X POST http://localhost:5000/processes/hello-world/execution \
108108 -H "Content-Type: application/json" \
109109 -d '{
@@ -116,20 +116,24 @@ curl -X POST http://localhost:5000/processes/hello-world/execution \
116116## Development
117117
118118Run tests:
119- ``` bash
119+ ``` console
120120make test
121121```
122122
123123Check coding style:
124- ``` bash
124+ ``` console
125125make lint
126126```
127127
128128Build docs:
129- ``` bash
129+ ``` console
130130make docs
131131```
132132
133+ ## Release
134+
135+ Please check the developer guide.
136+
133137## Examples
134138
135139See usage examples for the processes in the notebooks folder.
@@ -139,12 +143,12 @@ See usage examples for the processes in the notebooks folder.
139143You can also use a docker deployment.
140144
141145Build images:
142- ``` bash
146+ ``` console
143147docker-compose build
144148```
145149
146150Start container:
147- ``` bash
151+ ``` console
148152docker-compose up
149153```
150154
0 commit comments